# How to Fix 'Connection Timed Out' on Your Minecraft Server (/docs/minecraft/fix-connection-timed-out)



import { Step, Steps } from 'fumadocs-ui/components/steps';

**"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 [#quick-diagnosis]

| What you see                          | Most likely cause                          |
| ------------------------------------- | ------------------------------------------ |
| Times out from every network          | Server offline, crashed, or wrong IP       |
| Times out only from your network      | Local firewall, ISP, or VPN blocking       |
| Worked yesterday, times out today     | DNS expired, IP changed, or server crashed |
| Times out using domain, works with IP | DNS misconfigured                          |
| Times out using IP, works with domain | Firewall blocking the raw IP               |

Fix It [#fix-it]

<Steps>
  <Step>
    Verify the IP and port [#verify-the-ip-and-port]

    Open the [XGamingServer Panel](https://panel.xgamingserver.com), 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.
  </Step>

  <Step>
    Check the Dashboard [#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](/docs/minecraft/fix-server-wont-start)
  </Step>

  <Step>
    Try a different network [#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.
  </Step>

  <Step>
    Check DNS (if using a custom domain) [#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](/docs/minecraft/custom-server-ip)
  </Step>

  <Step>
    Check Console for crashes [#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.
  </Step>
</Steps>

Timed Out vs Refused [#timed-out-vs-refused]

| Symptom                  | Timed Out                            | Refused                                  |
| ------------------------ | ------------------------------------ | ---------------------------------------- |
| Wait time before failure | 30+ seconds                          | Instant                                  |
| What it means            | No reply at all                      | Reply received, but rejected             |
| Likely cause             | Network / DNS / server fully offline | Wrong port / server still booting / full |
| Where to look first      | Local network, then DNS, then panel  | Panel Dashboard + Console                |

If you get **Refused** instead, see [Fix: Connection Refused](/docs/minecraft/fix-connection-refused).

Common Mistakes [#common-mistakes]

| Mistake                                          | Fix                                                                                          |
| ------------------------------------------------ | -------------------------------------------------------------------------------------------- |
| Using the wrong IP from an old session           | Re-check **Network** in panel                                                                |
| Custom domain points to old IP                   | Update the A record at your registrar                                                        |
| Cloudflare orange cloud (proxy) on Minecraft DNS | Set the record to **DNS only** (grey cloud) — Cloudflare's HTTP proxy can't tunnel Minecraft |
| Using a VPN that blocks game traffic             | Disable VPN or whitelist Minecraft                                                           |
| Connecting before server reaches `Done`          | Wait for the Done message in Console                                                         |
| ISP blocking port 25565                          | Contact ISP or use a different port                                                          |

Still Timed Out? [#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

Related Guides [#related-guides]

* [Fix: Connection Refused](/docs/minecraft/fix-connection-refused)
* [Server Won't Start](/docs/minecraft/fix-server-wont-start)
* [Custom Server IP / Domain](/docs/minecraft/custom-server-ip)
* [Connect to Your Server](/docs/minecraft/join-server)
* [Common Issues](/docs/minecraft/common-issues)
