The java.net.ConnectException: Connection timed out error occurs when your client attempts to establish a connection to a Minecraft server, but the request fails to receive a response within the expected timeframe. This indicates a breakdown in communication between your local machine and the remote server.
Common Causes
- Server Offline: The server process is not running or has crashed.
- Firewall Restrictions: Local or network firewalls are blocking the connection on the required port.
- Incorrect IP or Port: You are attempting to connect to an invalid address or a port that is not open.
- Network Instability: High latency or packet loss between your ISP and the host's data centre.
How to fix it
Check Server Status
Before troubleshooting your local network, verify that the server is actually running.
- On AwakeNode: Check the status indicator on your AwakeNode panel. If the server is offline, click the 'Start' button. If the console shows an error, open a ticket with Support for assistance.
- On other hosts: Check your server console or logs to ensure the process is active. If the server is stopped, start it via your control panel or command line.
Verify Connection Details
Ensure you are using the correct IP address and port. If your server uses a non-standard port (anything other than 25565), it must be included in the address (e.g., 123.456.78.90:25570).
Check Firewall and Network
If the server is online but you still cannot connect, your local network may be the issue.
- Local Firewall: Temporarily disable your Windows Firewall or antivirus software to see if they are blocking outgoing connections to the server.
- VPN/Proxy: If you are using a VPN, disconnect it. VPNs often route traffic through congested nodes that can cause timeout errors.
- Network Reset: Restart your router to clear any stale routing tables that may be preventing a direct connection to the host's IP range.