“Connection timed out” means your game sent a request to the server’s address and nothing answered. The usual causes are a server that is not running, a wrong address or port, or a firewall or router that drops the traffic on TCP port 25565. Check them in that order.
The fix depends on where the server runs and who sees the error, so the guide starts with a short test to narrow the problem and then walks through each cause.
Start here: who sees the error?
- Everyone, including you. The problem is on the server side: it is stopped, crashed, or its port is blocked.
- Only some players. Look at their side: VPN, firewall, school or work network, or a typo in the address.
- You, but only with the public address. Joining with
localhostworks, so the server is fine and the problem is the router or firewall.
The Minecraft Wiki suggests testing in steps from your own machine: connect with localhost, then with your internal address (192.168.x.x), then with your external address. The step where it stops working shows you which part of the path to fix.
Timed out or refused?
| Message | What it means | Where to look |
|---|---|---|
| Connection timed out | The request was ignored, usually by a firewall or a router with no forwarding rule. | Firewall, port forwarding, wrong IP address |
| Connection refused | The machine answered, but nothing listens on that port. | The server is not running, or the port is wrong |
| Outdated client or Outdated server | The connection works, but the game versions differ. | Update the client or the server. See how to update a Minecraft server |
| You are not white-listed on this server | The connection works, but your name is not on the list. | See how to whitelist friends |
The Wiki explains it this way: a timeout is the firewall ignoring the first packet, and a refusal is the operating system telling you that no process is listening on that port.
If your server is hosted with us
- Check that the server is running. Open it in the panel. If it is offline, press Start and watch the Console until it finishes loading. A server that is still starting will time out.
- Use the address and port from the server page. Copy them exactly. A hosted server can run on a port other than 25565, and a missing port is a common mistake.
- Read the console for errors. A crash on startup, a wrong Java version or a plugin error can stop the server before it listens.
- Test from another network. Try a phone hotspot with the same address. If it works there, the cause is your own network, VPN or firewall.
- Contact support. If the server runs and the address is right, send us the address and the console log through live chat or a ticket.
You do not need to forward any ports on a hosted server. We handle the network side, in Dallas and Amsterdam, with DDoS protection on every plan.
If you host from your own PC
Most timeouts on a home server come from the network between the internet and your computer. Work through these in order:
- Confirm the server is running and that its console says it has finished loading.
- Check
server.properties. Leaveserver-ipempty. The Paper docs say it is not a place for your public IP, because it controls which network interfaces the server listens on. A wrong value causes “Failed to bind to port”. - Allow Java through the firewall on the computer that runs the server. On Windows, accept the prompt that appears the first time the server starts.
- Forward TCP port 25565 in your router to the local address of that computer. Give the computer a fixed local address so that the rule keeps working.
- Check for a second router. The Wiki warns that a modem and router combination, or two routers in a row, means you must forward the port on the device that faces the internet.
- Use your current public IP address. Home addresses often change. A dynamic DNS name fixes that, as the Wiki explains.
The Wiki also notes that turning off the firewall on the router is not the same as opening the port. Without a forwarding rule, the router drops the connection, and you get a timeout. The full setup is in how to make a Minecraft Java server.
If only some players are affected
- VPN or proxy. Turn it off and test again.
- Antivirus or firewall on the player’s computer. Allow Java and Minecraft.
- School, work or public networks often block game ports. Try a phone hotspot.
- A domain that times out when the raw IP works. That points to DNS. Check the A record and, if you use a custom port, the SRV record, both explained in the Wiki’s server tutorial.
- The wrong address. One mistyped character looks exactly like a server that is down.
Proxy networks
If your server sits behind Velocity, BungeeCord or a similar proxy, players connect to the proxy, not to the backend. A misconfigured proxy is a common reason for timeouts. Check that players use the proxy’s address, and that the backend servers allow connections from the proxy.
Still failing? Check these last
- Run the server without plugins or mods to see whether an add-on stops it from starting. The Paper troubleshooting guide suggests renaming the
pluginsfolder for the test. - Read the end of
logs/latest.logfor the last error before the server went quiet. - If the server starts but lags until it stops answering, see our lag fix guide.
- If you are choosing where to host, take a closer look at our Minecraft Java server hosting and our plans.
FAQ
What does "Connection timed out" mean in Minecraft?
Your game sent a connection request and nothing answered. According to the Minecraft Wiki, a timeout usually means a firewall ignored the request, so you need to allow Java in the firewall or forward the port. It can also mean that the server is not running or that you typed the wrong address.
What is the difference between "timed out" and "connection refused"?
Timed out means the request was ignored, usually by a firewall. Refused means the machine answered but no program is listening on that port, for example because the Minecraft server has not started properly. The first points at the network, the second at the server.
What port does a Minecraft Java server use?
TCP port 25565 by default, set by server-port in server.properties. A hosted server can use another port, so use the address and port shown on your server page.
Why can I join from my own computer but my friends cannot?
Joining with localhost or your local address does not use your router, so it works even when port forwarding is missing. Friends connect through your public address, which needs the port forwarded to your computer. A hosted server avoids that step.
Can a VPN cause connection timed out?
Yes. If you or your friends connect through a VPN or proxy, turn it off and test again. Some VPNs block game traffic or send it through a route that does not reach the server.
Hosting for these games
Minecraft Java hostingPaper, Purpur, Fabric, Forge and more
Minecraft Bedrock hostingPhones, consoles and Windows
Written by TheGameHosting Team, the people who run our servers in Dallas and Amsterdam and answer your tickets.
All posts
TheGameHosting Team