Can't join local Minecraft server

I can’t join a friend’s Minecraft server and if I wait until a local server is found it still loads. I’ve tried everything, disconnecting from the network, rebooting, rebooting ZeroTier One and it still can’t find the server. And if I try to type the code for the local server in the address bar it says no route host
I dunno what to do :frowning: