Why Does Minecraft Show "Connection Timed Out"?
The "Connection Timed Out" error occurs when your Minecraft client cannot establish a connection with the server within the allowed time limit. Common causes include firewall blocking Java, incorrect server address, server being offline, ISP restrictions, or outdated Java installations.
Step-by-Step Fix
Check if the Server is Online
Before troubleshooting your system, verify the server is actually running. Ask the server owner, check the server's Discord, or use a site like mcsrvstat.us to ping the server address.
Allow Java Through Windows Firewall
Windows Firewall often blocks Java connections silently:
- Open Control Panel → Windows Defender Firewall
- Click "Allow an app or feature through Windows Defender Firewall"
- Click "Change settings"
- Find "Java(TM) Platform SE binary" — check both Private and Public
- If Java isn't listed, click "Allow another app" and browse to your Java installation
Verify the Server Address and Port
Double-check the server IP address and port. The default Minecraft port is 25565. Make sure there are no typos, extra spaces, or wrong port numbers in your server address field.
Flush DNS and Reset Network
Cached DNS entries can cause connection issues. Open Command Prompt as Administrator and run:
ipconfig /release
ipconfig /renew
netsh winsock reset
Restart your PC after running these commands, then try connecting to the server again.
Update Java
Outdated Java versions can cause compatibility issues. Download the latest Java from java.com or adoptium.net (for OpenJDK). Restart Minecraft after updating.
If you frequently experience connection issues, consider switching your DNS to Google DNS (8.8.8.8 / 8.8.4.4) or Cloudflare DNS (1.1.1.1). These are faster and more reliable than most ISP DNS servers. Additionally, using a wired Ethernet connection instead of Wi-Fi can dramatically reduce packet loss and connection timeouts for multiplayer gaming.
