Skip to content
Hosting · Troubleshooting

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

  1. 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.
  2. 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.
  3. Is the address correct? Copy it from the control panel in full. A stray space at the end is a common cause.
  4. Port. With the name.millida.host address you don't need a port. With a direct IP, you do.
  5. 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

ErrorMeaning
Connection refusedThe port isn't listening: the server is off or still starting
Connection timed outPackets don't get through: network, firewall — details
Unknown hostThe address doesn't resolve: a typo or a DNS problem
Connection resetThe 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