EnderPanel Back to the website

Guides

Why does my Minecraft server say "Connection timed out"?

Short answer

Your friend's game reached nothing: the message never got to the server. It's almost always one of four things: the server is off, the computer's firewall is blocking Java, the router isn't sending the port to the computer, or your address has changed.

Check these, in order

  1. Is the server on? It must be running, on a computer that's awake.
  2. Can someone on your Wi-Fi join? If they can't either, it's the computer's firewall: allow Java on Windows (Windows Security, Allow an app through firewall) or on a Mac (System Settings, Network, Firewall).
  3. Friends outside can't, but home can? Then it's the router. Check the port forwarding rule points to the right computer.
  4. Did your address change? Home internet addresses change now and then. Give friends the new one, or use a name that follows it.
  5. Shared internet (CGNAT)? Some providers make forwarding impossible; use a relay.

'Connection refused' is different

Refused means the message reached the computer, but nothing was listening on that port: the server is off, or it's on a different port than the one your friend typed.

Quick questions

It worked yesterday. Why not today?

Most often your home's internet address changed. A free name like yourname.enderpanel.app follows it automatically.

Only one friend can't join.

If everyone else can, it's on their side: their version, their network, or their account.

Does a VPN cause this?

It can. A VPN on the server computer can stop friends reaching it; try with it off.

Related guides