How to Fix Connection Timed Out in Minecraft
Fix Minecraft 'Connection Timed Out' errors. Covers DNS resolution, ISP routing, MTU settings, and firewall troubleshooting for Java Edition multiplayer.
How to Fix Connection Timed Out in Minecraft
The Error
java.net.ConnectException: Connection timed out: connect
Connection timed out: no further information
This error means your Minecraft client sent a connection request to the server but received no response within the 30-second timeout window. The packets are being lost or blocked somewhere between you and the server. Unlike "Connection Refused" (where the server rejects you), a timeout means silence, your request never arrived or the reply never made it back.
Quick Fix
Verify the server IP and port are correct. Then test your internet connection by pinging the server: ping play.example.com. If the ping fails, the issue is DNS, routing, or the server being offline. If the ping works, the server's Minecraft port might be blocked.
Step-by-Step Diagnosis
- Verify server status. Ask the server owner or check the server's website/Discord for status updates. The server might be offline for maintenance.
- Ping the server IP. Open a terminal and run
ping play.example.com. If you get "Request timed out" or 100% packet loss, you cannot reach the server at all. If you get responses, the machine is reachable but the port may be blocked. - Check DNS resolution. Run
nslookup play.example.com. If it returns an error, your DNS is not resolving the domain. Try switching to Google DNS (8.8.8.8) or Cloudflare DNS (1.1.1.1). - Flush DNS cache. On Windows:
ipconfig /flushdns. On macOS:sudo dscacheutil -flushcache. On Linux:sudo systemd-resolve --flush-caches. - Run a traceroute.
tracert play.example.com(Windows) ortraceroute play.example.com(Linux/Mac). Look for hops where latency spikes or packets are lost. This identifies whether the issue is on your ISP's network or further along the route. - Disable VPN. VPNs add routing hops and can cause timeouts. Disable your VPN and try connecting directly.
- Try a different network. Connect via mobile hotspot to test. If the server works on a different network, the issue is your home network or ISP.
- Lower MTU size. If you are behind a network with a low MTU (common in some campus and corporate networks), Minecraft packets may be silently dropped. On Windows:
netsh interface ipv4 set subinterface "Ethernet" mtu=1400 store=persistent.
Common Causes
- Server is offline. The simplest explanation. Verify with the server community.
- Incorrect IP address. A typo in the IP or an outdated domain that no longer points to the server.
- DNS issues. Your DNS resolver cannot look up the domain. Switch DNS providers.
- ISP blocking. Some ISPs block traffic on port 25565. Test with an alternative port or use a VPN.
- DDoS protection. Some DDoS protection services (like TCPShield or Cloudflare Spectrum) may block your IP if you are flagged. Contact the server admin.
- Geographic routing. Players on the other side of the world from the server experience more routing hops, increasing the chance of timeout. A VPN with a server close to the Minecraft server's location can improve routing.
FAQ
Why can other players connect but I cannot?
Your specific network route to the server has a problem. Other players take different routes through the internet. A traceroute reveals where your connection fails.
The server IP is correct but I still time out. What now?
Try connecting with the numeric IP address instead of the domain name (ask the server admin for it). This bypasses DNS entirely. If the numeric IP works, your DNS is the problem.
Can a firewall cause timeouts instead of "Connection Refused"?
Yes. A firewall configured to "drop" (silently discard) packets causes timeouts. A firewall configured to "reject" (send back an error) causes "Connection Refused". Most firewalls default to drop.
Does connection timeout mean I am IP-banned?
Not usually. IP bans typically show a ban message, not a timeout. However, some DDoS protection systems blackhole suspicious IPs, which looks like a timeout. Contact the server admin if you suspect this.
Need a server that handles all this? Astroworld Hosting, NVMe SSDs, Pterodactyl panel, DDoS protection on every plan.