Minecraft: Tell Connection Refused and Timeout Apart
Connection refused and a timeout describe two different results during connection setup. Neither result alone proves that the Minecraft server process is stopped. Check the provider's address and port, then test that exact TCP connection.
Connection refused and a timeout describe two different results during connection setup. With an immediate refusal, a TCP endpoint rejects the attempt. With a timeout, no successful response arrives before the wait period ends. Neither result alone proves that the Minecraft server process is stopped. First check the address and port provided by the host, then test that exact TCP connection.
This guide covers Minecraft: Java Edition and the TCP connection path. If you use Bedrock, first check the matching edition and server type in Minecraft Java or Bedrock: Which Edition Fits Your Group?; a TCP port test does not answer every Bedrock connection question.
What the Two Messages Tell You
Connection refused: The attempt was rejected immediately, typically with a TCP reset. The TCP connection was not established. Possible leads include an incorrect address or port, a public connection that has not been mapped, or an endpoint that is not currently accepting connections. The message alone does not tell you where the rejection occurred. The TCP standard describes rejection by reset and other reasons why connection setup can fail (IETF RFC 9293).
Timeout: The client received no response that would establish the connection before its wait period expired. This can fit an incorrect or unreachable route, a silently dropped connection attempt, or an unreachable address. A timeout does not tell you whether the server is running or whether a network path is filtering packets.
Copy the Address and Port from the Customer Panel
Copy the game server name and assigned port from the provider's server overview. Do not automatically use 25565: Paper lists it as the default for server-port, but a hosting provider can expose a different address or port mapping. The local server-ip and server-port values in server.properties do not by themselves show which public address players should use (PaperMC: server.properties).
Compare the details character by character. Look for mistyped digits, spaces, an old hostname, or an extra port after the colon. If you use your own domain or an SRV record, follow the provider's exact connection instructions; the guide Set Up a Minecraft Domain with an SRV Record covers this mapping. Do not change the port number by guesswork.
Test the TCP Port Directly
If you use Windows, open PowerShell and replace the example address and port with the values from your server overview:
Test-NetConnection -ComputerName mc.example.net -Port 25565 -InformationLevel Detailed
The output TcpTestSucceeded : True means that a TCP connection to this name and port was established at that moment. False or a timeout only means that this test did not establish the connection. The detailed output shows which address was used in RemoteAddress and which addresses the name returned in NameResolutionResults. If both IPv4 and IPv6 addresses appear, rerun the command with each individual IP address as -ComputerName and the same port. This lets you compare the TCP paths for the two address families. It does not show which address Minecraft selects for its own join attempt; clients with IPv4 and IPv6 can make their own connection attempts over both families (Microsoft Learn, IETF RFC 8305).
On macOS or Linux, if nc is installed, you can check the same TCP path using the values from your server overview:
nc -vz mc.example.net 25565
The OpenBSD version also supports separate IPv4 and IPv6 tests:
nc -4 -vz mc.example.net 25565
nc -6 -vz mc.example.net 25565
Replace the example address and port with the values from your server overview. Other nc variants may differ; check their help output first if needed (OpenBSD nc).
A successful port test confirms only that the TCP connection was established. It does not perform a Minecraft handshake or check the game version or subsequent sign-in. If the port test succeeds but Minecraft still refuses the connection, read the exact client or console message; Failed to verify username! is about the separate account check.
Interpret the Result Correctly
- Immediate refusal: Check the address, port, and server mapping shown in the panel. If the panel shows the server as running, ask the provider to check whether the assigned public address actually points to the correct game server and its listener.
- Timeout: Repeat the test once from a second device or another trusted network. If it works there, the difference is likely on the first network path. If it fails on both paths with the same correct details, the provider should investigate the public mapping and reachability along the server path. This narrows the search; it does not prove a specific fault location.
- Port test succeeds, but joining the game still fails: Check the edition, server version, and the new exact error message. If the panel shows the server process as stopped or the console reports a startup error, see Minecraft Server Won't Start: Check Logs and Errors.
Keep your firewall and antivirus enabled; do not disable them wholesale or open random ports. When contacting the provider, send the time, address and port you used, and the result from one or two networks. Do not share access credentials. After several failed tests from different network paths, ask the provider to check the public port mapping and server listener. A log excerpt is needed only if the provider asks for one; remove private data before sending it.
Sources
Did this guide help? We are happy to help personally.