"Connection refused / unknown host / server not found" when a friend joins — why?
Messages like "connection refused," "unknown host," or "server not found" almost always mean the address is wrong or the server isn't up — not a firewall problem on a hosted server. Working through a short checklist usually pinpoints it fast.
What the errors are telling you
"Unknown host / server not found" points at the address itself — a typo, a missing port, or DNS that isn't ready. "Connection refused" usually means the server is offline or still starting.
Check in order
- Is the server Online in the client area? If not, start it and wait for it to finish loading.
- Is your friend using the exact
IP:portfrom the Console, or your working domain? - Does their Minecraft version match the server's version?
- If you use a domain, has DNS propagated (check DNSChecker.org)?
Warning: "Unknown host / server not found" points at the address (typo, missing port, DNS not ready); "connection refused" usually means the server is offline or still starting. Reading which message you get narrows it down quickly.
Frequently asked questions
It works for me but not my friend. See the "I can connect but friends can't" article — that's a client-side difference, not a server fault.
More in Connecting, IPs & Domains
- Where do I find my server's IP address and port to connect or share?
- How do I connect a custom domain (A record / SRV record) to my server?
- How do I hide the numeric IP or the port and use a word/custom address instead?
- Can I buy a domain directly from HumbleServers, or must I get one elsewhere?
- My domain opens the wrong server or points to someone else's server — how do I fix it?
- What do I put in each SRV record field?