Connection refused: troubleshooting
What a connection refusal means when joining a Minecraft server, a full list of causes and the order in which to check them.
Updated August 22, 2026
java.net.ConnectException: Connection refused means the address and port were reached, but nothing is listening on them.
Check order
- Is the server running? In the control panel the status should be “Playing”. If it says “Starting”, wait: a player who tries to join too early will get exactly this refusal.
- Is the server asleep? On the free plan it goes to sleep when no players are online. If “Start on join” is enabled, the server will wake up on its own when someone joins — wait half a minute and try again. If the toggle is off or the daily limit is used up, start the server with the button in the control panel — Server sleep.
- Is the address correct? Copy it from the control panel in full. A stray space at the end is a common cause.
- Port. With the
name.millida.hostaddress you don't need a port. With a direct IP, you do. - Did the server crash right after startup? Check the log: it may have started and stopped immediately — Server won't start.
How it differs from other errors
| Error | Meaning |
|---|---|
Connection refused | The port isn't listening: the server is off or still starting |
Connection timed out | Packets don't get through: network, firewall — details |
Unknown host | The address doesn't resolve: a typo or a DNS problem |
Connection reset | The connection was dropped after it was established — details |
If the server is definitely running
Check that you haven't set your own server-ip or server-port in server.properties: the hosting sets these, and custom values will leave the server with no players — server.properties.
Minecraft hostingYour server runs while you are offlineCreate server
