Fix "Connection Refused: No Further Information" in Minecraft
You click Join and Minecraft throws this at you:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information
On Mac and Linux it usually just says Connection refused. The good news: this error is very specific. It tells you exactly what kind of problem you have, which makes it one of the easier connection errors to fix.
server-ip in server.properties is set when it should be blank.What "refused" actually means
When you join a server, your game knocks on a specific door: an IP address plus a port (25565 by default). There are two ways that can fail:
- Refused: the machine answers and says "nothing here". Your game got a reply, instantly.
- Timed out: nothing answers at all, and your game gives up after waiting. That's a different problem, covered in Connection timed out: no further information.
So with "refused", the network path usually works. The problem is almost always on the server side: the server isn't running, or it's not listening where you're knocking. The "no further information" part is just how Java on Windows phrases it. It doesn't hide any extra detail.
Cause 1: The server is offline or still starting
This is the most common one by far.
- The server crashed or was stopped.
- The server is still booting. The port only opens near the end of startup, and a big modpack can take several minutes.
- The server is stuck in a crash loop, starting and dying over and over.
Fix: open the server console and look for this line:
Done (12.345s)! For help, type "help"
Until that appears, connections get refused. If the server keeps stopping before it gets there, check Minecraft server closes immediately or read the error in logs/latest.log.
Cause 2: Wrong port
If the server runs on a port other than 25565, you have to include it in the address:
play.example.com:25566
123.45.67.89:25566
If you leave the port off, the game tries 25565. If nothing is listening there, you get refused.
Fix: check server-port in server.properties, or the port your host shows in its panel, and type it after a colon. A custom domain can hide the port using an SRV record, but if that record points to the wrong port you'll get the same error. More on ports in Minecraft server port 25565 explained.
Cause 3: Wrong IP or address
If the address points to a machine that's online but isn't running your server, it will refuse you. Examples:
- You copied an old IP after the host moved your server.
- Your home IP changed and you're still using the old one.
- A domain's DNS record still points to an old server.
- You typed
localhoston a different computer than the one running the server.localhostalways means "this computer".
Fix: copy the address fresh from your host's panel or from whoever runs the server. Avoid typing it from memory.
Cause 4: server-ip is set in server.properties
This one catches a lot of people who self-host. In server.properties:
server-ip=
This should almost always be blank. When it's blank, the server listens on every network address the machine has.
If someone filled it in, the server only listens on that one address:
server-ip=127.0.0.1means only the same computer can connect. Everyone else is refused.server-ip=192.168.1.50meanslocalhostconnections on the host itself get refused, and if your local IP changes the server can't start at all.- If it's set to your public IP, the server usually fails to start with
FAILED TO BIND TO PORT, because that address isn't on the machine.
Fix: stop the server, clear the value so the line reads server-ip=, and start it again. On a hosting panel you normally never touch this setting. The full list of settings is in server.properties explained.
Cause 5: Firewall or port forwarding (self-hosted servers)
Firewalls and routers usually just ignore blocked connections, which gives a timeout, not a refusal. But some routers and firewalls actively reject the connection instead, which shows up as "refused". So if you host at home and only friends outside your house get this error, check:
- Port forwarding: your router must forward TCP port 25565 (or your custom port) to the local IP of the computer running the server.
- The right computer: the forward has to point at the server PC's current local IP. If that IP changed after a reboot, the forward now points at the wrong device. Giving the PC a reserved (static) local IP stops this.
- Firewall: allow Java (or the port) through Windows Defender Firewall or your OS firewall.
Also, trying to join your own server with your public IP from inside your own house fails on many routers. On the host PC, use localhost. On another device at home, use the host PC's local IP. Friends outside use the public IP.
If port forwarding isn't an option, see how to host a Minecraft server without port forwarding.
Quick way to test the port
On Windows, open PowerShell and run:
Test-NetConnection play.example.com -Port 25565
If TcpTestSucceeded is True, something is listening and the problem is somewhere else (version mismatch, mods, whitelist). If it's False, the port is closed or blocked, which matches the causes above.
On Mac or Linux:
nc -vz play.example.com 25565
Checklist
| Check | How |
|---|---|
| Server is online and finished starting | Console shows Done (...)! |
| Port is correct | Matches server-port or the panel, typed after a colon |
| Address is current | Copied fresh, not from memory |
server-ip is blank |
Look in server.properties |
| Port forwarded (home hosting) | Router forwards TCP to the server PC's local IP |
Still stuck after the server shows as online in your list? Try why can't my friends join my Minecraft server for the next round of fixes.
On FreaksMC the address and port are shown on your server's panel page, and the Console tab shows whether the server has finished starting.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo