How to Fix 'Connection Timed Out' on Your Minecraft Server

Diagnose and fix Connection Timed Out errors on your Minecraft Java server — wrong IP, DNS, firewall, ISP blocking, or server crash.

"Connection Timed Out" means your Minecraft client tried to reach the server, waited 30+ seconds, and got no response. Unlike Connection Refused (where the server actively rejects you), Timed Out means nothing replied at all. That points to a network/routing/DNS problem — or the server being completely offline.

Quick Diagnosis

What you seeMost likely cause
Times out from every networkServer offline, crashed, or wrong IP
Times out only from your networkLocal firewall, ISP, or VPN blocking
Worked yesterday, times out todayDNS expired, IP changed, or server crashed
Times out using domain, works with IPDNS misconfigured
Times out using IP, works with domainFirewall blocking the raw IP

Fix It

Verify the IP and port

Open the XGamingServer Panel, click Network in the sidebar, and copy the exact IP and port. Try connecting with the raw IP and port directly:

123.45.67.89:25565

If the IP version works but the domain doesn't, the problem is DNS — see step 4.

Check the Dashboard

Look at the panel Dashboard. Is the server Online?

  • Offline → click Start and wait for Done in Console
  • Starting → wait. Modpacks need 2–5 minutes
  • Crashed → see Server Won't Start

Try a different network

If the server is online and you're still timing out, the problem might be your local network blocking outbound Minecraft traffic:

  • School / work / hotel Wi-Fi — usually blocks game ports
  • Public Wi-Fi — often blocks UDP and high ports
  • Aggressive consumer firewall / antivirus — can block Minecraft
  • VPN — try toggling it on or off

Test from mobile data or a different connection. If it works there, it's your local network.

Check DNS (if using a custom domain)

If you have a custom domain (play.yourserver.com), DNS may not be propagating. Test it:

nslookup play.yourserver.com

The IP returned should match your panel's Network IP. If it doesn't:

  • DNS hasn't propagated yet (wait up to 48 hours)
  • A record points to the wrong IP — fix in your registrar's DNS settings
  • You're using a non-standard port without an SRV record — see Custom Server IP

Check Console for crashes

If only some players time out, the issue is on their side. If everyone times out, it's server-side. Read Console for crash messages and check the Dashboard status.

Timed Out vs Refused

SymptomTimed OutRefused
Wait time before failure30+ secondsInstant
What it meansNo reply at allReply received, but rejected
Likely causeNetwork / DNS / server fully offlineWrong port / server still booting / full
Where to look firstLocal network, then DNS, then panelPanel Dashboard + Console

If you get Refused instead, see Fix: Connection Refused.

Common Mistakes

MistakeFix
Using the wrong IP from an old sessionRe-check Network in panel
Custom domain points to old IPUpdate the A record at your registrar
Cloudflare orange cloud (proxy) on Minecraft DNSSet the record to DNS only (grey cloud) — Cloudflare's HTTP proxy can't tunnel Minecraft
Using a VPN that blocks game trafficDisable VPN or whitelist Minecraft
Connecting before server reaches DoneWait for the Done message in Console
ISP blocking port 25565Contact ISP or use a different port

Still Timed Out?

If you've ruled out everything above:

  1. Force-restart the server from the Dashboard
  2. Run save-all flush and then a clean restart
  3. Restore from a recent Backup if you suspect world corruption
  4. Open a support ticket with your panel IP, port, and the timestamp

How is this guide?

40% Off — Limited TimeGet your Minecraft server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page