How to Fix Minecraft Connection Timed Out

Fix the Connection Timed Out error in Minecraft Java and Bedrock with quick network troubleshooting, firewall adjustments, and DNS resets.

BothEasy5-10 minutes
How to Fix Minecraft Connection Timed Out
Join 9Minecraft News & Guides

The "Connection Timed Out" error occurs in both Minecraft Java Edition and Bedrock Edition when your game client attempts to establish a connection with a multiplayer server or Realm, but receives no response before the countdown expires. This is commonly caused by routing packet loss, overprotective firewalls, or stale network configurations, and you can solve it easily using the steps below.

Whenever possible, connect your PC or console using an Ethernet cable rather than Wi-Fi to eliminate packet drops during initial chunk loading.
If your friends get this error when joining your self-hosted server, make sure you forwarded port 25565 (Java) or 19132 (Bedrock) on your home router.

Verify the Server Address and Status

Before changing your local settings, confirm that the target server is online and operating normally. Check the server community's Discord, status website, or ask a friend if they can join. If you cannot join any multiplayer world at all, take a look at how to fix Minecraft can't connect to server to diagnose broader network issues.

Double-check that you entered the IP address and port correctly without trailing spaces. Java Edition uses port 25565 by default, whereas Bedrock Edition uses port 19132 for IPv4 connections.

Restart Your Router and Network Hardware

A congested network cache or temporary IP collision can silently drop handshakes between your device and the server host. Power down your modem and router, unplug their power adapters for 30 seconds, and plug them back in.

While your network hardware restarts, restart your PC, mobile device, or console as well. This establishes a clean network connection and assigns a fresh local IP address to your gaming device.

Allow Minecraft Through Your Firewall

Security firewalls often block Minecraft's outbound or inbound data packets, triggering socket errors such as the connection timed out getsockopt error. On Windows, search for Allow an app through Windows Firewall in the Start menu.

Click Change settings, locate Java(TM) Platform SE binary (for Java Edition) and Minecraft (for Bedrock Edition), and ensure checkmarks are placed in both the Private and Public columns. Click OK to save your changes.

Flush Your DNS and Reset Winsock

Corrupt or outdated DNS cache records may redirect your connection to an inactive server node. On Windows, press the Windows Key, type cmd, right-click Command Prompt, and select Run as administrator.

Type ipconfig /flushdns and press Enter, then type netsh winsock reset and press Enter. Once finished, restart your computer so Windows can rebuild its network socket configuration.

Disable Active VPNs and Background Downloads

Virtual Private Networks (VPNs) and proxy tunnels alter your network routing path, often adding significant latency or prompting server anti-bot protections to reject your packets. Disconnect your VPN client before launching Minecraft. If your connection still drops after joining, consult our guide on how to fix Minecraft connection lost.

Additionally, pause any heavy background downloads, cloud backups, or torrent clients running on your home network to free up bandwidth for the initial world-loading packets.

Frequently Asked Questions

Why does Connection Timed Out happen on only one specific server?

If you can connect to other public servers without issue, the fault lies with that specific server's infrastructure. It may be offline, rebooting, overloaded with players, or experiencing regional ISP routing disruptions.

Can a high render distance cause connection timeouts?

Yes. When you join a server, the host transmits a large batch of world and entity data. If your render distance is high and your connection is slow, the transfer can stall, causing the server to time out your session before you spawn.

You May Also Like