ServerBuddy
Server troubleshooting markerServer troubleshooting

Minecraft connection timed out: causes and fixes for server owners

8 min readServerBuddy

A Minecraft connection timed out error usually means the client never got a public Minecraft response. Work through address, port, protocol, firewall, DNS, and Server List Ping checks before listing the server.

A Minecraft connection timed out error usually means the player's client did not get a Minecraft response before it gave up. For server owners, the most common causes are a wrong public address, closed port, blocked firewall rule, wrong Java or Bedrock protocol, stale DNS record, or a server process that is running locally but not reachable from the public internet.

Last reviewed: June 2026. Tested with Java TCP 25565, Bedrock UDP 19132, ServerBuddy Status Checker, and Connection Doctor.

Start with the same public address players type into Minecraft. Test it with the Minecraft server status checker, then run Connection Doctor if the result looks like a timeout, closed port, wrong protocol, DNS failure, or invalid response.

Quick fix order

  1. Test the exact public address with the Minecraft server status checker.
  2. Run Connection Doctor for the same host, port, and edition.
  3. Confirm the server is using the right port.
  4. Check Java vs Bedrock.
  5. Check router, host, and cloud firewall rules.
  6. Check DNS or SRV records.
  7. Test again from outside your network.
  8. Only submit the server after the public status check works.
ServerBuddy diagnostic board showing Minecraft connection timed out checks for DNS, firewall, port forwarding, Java TCP 25565, and Bedrock UDP 19132.
A timeout is usually a missing public response. Test the address, port, protocol, firewall, and DNS route before changing random server settings.

What connection timed out means in Minecraft

Connection timed out means Minecraft waited for a response and did not get one in time. That is different from connection refused, where something answered but did not accept the connection, and different from unknown host, where the domain did not resolve.

For Java servers, the default public connection port is usually TCP 25565. Paper's server.properties reference lists server-port=25565 as the port the server listens on, and says server-ip should be left blank to bind to all interfaces unless your host says otherwise. See the PaperMC server.properties reference for the setting details.

For Bedrock servers, the default is usually UDP 19132. Bedrock uses RakNet over UDP, and the Bedrock Wiki documents 19132 as the default IPv4 RakNet port for Bedrock servers in its RakNet protocol reference.

A timeout often means traffic is being dropped before it reaches the Minecraft listener. That can happen at the router, a cloud firewall, the operating system firewall, a host panel firewall, a proxy, or DNS pointing players to the wrong place.

Quick diagnosis table

What players seeLikely causeWhat to check first
Connection timed out: no further informationTraffic is not reaching a Minecraft responseRun Connection Doctor against the public host and port
Connection timed out: getsockoptOften the same public reachability problem, especially on JavaCheck TCP 25565 or the custom Java port
Connection timed out after 30000 msThe client waited and gave upCheck firewall, port forwarding, and public address
Works for you, times out for friendsLocal access works, public access failsTest from outside your network
Works by IP, fails by domainDNS or SRV problemCheck A, AAAA, and SRV records
Java works, Bedrock times outUDP is blocked or Bedrock listener is wrongCheck UDP 19132 or the custom Bedrock port
Bedrock works, Java times outTCP is blocked or Java listener is wrongCheck TCP 25565 or the custom Java port
Only one player times outPlayer-side network or route issueTest from another network before changing server config
Status checker works, joining failsLogin-stage issue, not basic reachabilityCheck whitelist, version, proxy, resource pack, auth, and logs
Connection refusedSomething answered, but not the expected Minecraft serviceCheck server process and listening port
Unknown hostDomain resolution failedFix DNS before changing Minecraft settings

Test the public address first

Start with the exact address players type into Minecraft. Do not test a different host, an old domain, a local IP, or a panel-only address.

Good public address examples
play.example.net
play.example.net:25566
123.45.67.89:25565
Bad address examples
https://play.example.net
play.example.net/
localhost
192.168.1.25
10.0.0.12

localhost, 192.168.x.x, and 10.x.x.x can work on the owner's computer or home network, but they are not public addresses. A player outside your network needs the public domain or public IP.

ServerBuddy's status checker resolves DNS and Java SRV records, auto-detects Java or Bedrock, and shows latency, version, protocol, players, MOTD, and icon when the server responds.

Check the server process and listening port

A timeout can happen even when your hosting panel says the server is online. The panel may only mean the process started. It does not prove that players can reach the public listener.

For Java servers, check server.properties and keep the status response enabled unless your host has a specific reason to change it.

server.properties
server-ip=
server-port=25565
enable-status=true

For most Java servers, leave server-ip blank. Setting it to the wrong value can make the server bind to the wrong interface. If you changed the port, players must include the port, for example play.example.net:25566.

Linux listener check
ss -tulpn | grep 25565
Windows PowerShell listener check
Get-NetTCPConnection -LocalPort 25565

For Bedrock, check UDP instead of TCP. A common mistake is opening TCP 19132 while the Bedrock server is listening on UDP 19132.

Check Java vs Bedrock before changing settings

Java and Bedrock do not use the same network path. Testing a Bedrock server as Java can fail even when the Bedrock server is online. Testing a Java server as Bedrock can fail for the same reason.

ServerBuddy network diagram comparing Java TCP 25565 and Bedrock UDP 19132 traffic through player, router, firewall, host, and server checkpoints.
Java uses TCP and Bedrock uses UDP. Test the edition, transport, and port that players actually use.
Server typeDefault portTransportCommon timeout cause
Java25565TCPTCP not forwarded or firewall blocks the port
Bedrock19132UDPUDP not forwarded, or only TCP was opened
Java custom portCustomTCPPlayers forgot :port, or SRV points to the wrong port
Bedrock custom portCustomUDPPlayers use the wrong port, or host firewall blocks UDP
Geyser or crossplay proxyDepends on setupTCP and UDPJava side works but Bedrock side is not exposed

Bedrock's status path uses unconnected RakNet pings and pongs over UDP. The Bedrock Wiki describes the unconnected pong as the response that can include MOTD, protocol version, version name, player count, max player count, game mode, and ports.

If you run Geyser, Velocity, BungeeCord, Waterfall, or another proxy, test the public proxy address, not just the backend server. The backend can be healthy while the public proxy is the part timing out.

Check firewall and port forwarding

If the server works locally but players time out, the problem is usually in the public route. For home-hosted Java, traffic normally needs to reach router TCP 25565, then the server computer TCP 25565, then the Minecraft server. For Bedrock, the same path usually needs UDP 19132.

  1. Router port forwarding
  2. Server computer's local IP address
  3. Operating system firewall
  4. Antivirus or security software firewall
  5. Cloud firewall or security group
  6. Hosting provider firewall
  7. Proxy firewall
  8. Minecraft server port

Do not forward to a changing local IP. If your server computer was 192.168.1.25 yesterday and is 192.168.1.31 today, your router may still forward traffic to the old device. Reserve a LAN IP for the server machine.

For Java, forward TCP. For Bedrock, forward UDP. If you run both, you may need both, but only when both server listeners actually exist.

Check DNS and SRV records

DNS can cause a timeout when the domain points to the wrong IP or when an SRV record sends Java clients to the wrong host or port. Test both the domain and the raw public IP before changing Minecraft settings.

Compare domain and raw public IP
play.example.net
123.45.67.89:25565
DNS issueWhat happens
A record points to an old IPPlayers connect to the wrong server or time out
AAAA record points to a broken IPv6 targetSome players fail while others connect
SRV port is wrongDomain resolves but connects to the wrong port
SRV target points directly to an IPSome DNS providers or clients may fail
Proxy domain points to backend private IPPublic players cannot reach the backend
Recent DNS change has not propagatedSome players connect, others time out

For a Java server on a custom port, an SRV record can let players use play.example.net without typing :25566. The SRV target and port still need to match the public listener.

Check Server List Ping

A Minecraft server can be reachable for joins but still fail a status check. That matters for public server lists and status tools. Java servers use Server List Ping for the multiplayer list, and the wiki.vg Server List Ping reference says it can query MOTD, player count, max players, and server version through the server's usual port.

On Paper-based Java servers, keep enable-status=true unless you intentionally want to hide status data. If it is off, a server can appear offline to status tools even when direct joins still work.

If you use a proxy, check the proxy status response too. Server lists usually see the public proxy, not the backend server hidden behind it.

Check whether the problem is server-side or player-side

Do not rebuild your server config because one player timed out. First prove whether the server is reachable from outside.

SignalWhat it suggests
ServerBuddy cannot reach the public addressThe server-side public route is probably broken
Multiple players on different networks time outThe server-side public route is probably broken
The raw IP and domain both failFirewall, listener, or public route issue
ServerBuddy sees the server onlineBasic public status is working
Only one home network failsPlayer-side route, VPN, DNS, or firewall issue
The player can join through a mobile hotspotPlayer-side network is likely the problem

For player-side checks, ask the player to try another network, restart the game, restart the router, disable VPN temporarily, check firewall rules, and test without heavy downloads running. Server owners should keep the public status result as the source of truth.

Check the logs before guessing

When a player times out, check whether the server saw the connection attempt. If the server log shows nothing, the request probably never reached Minecraft. Focus on DNS, firewall, port forwarding, cloud firewall, or wrong protocol.

If the server log shows a partial login, the network path may be working and the issue may be later in the join process. Look for version mismatch, whitelist rejection, plugin error, proxy forwarding error, resource pack prompt, authentication issue, or mod mismatch.

Useful places to check
logs/latest.log
crash-reports/
proxy logs
hosting panel console
firewall logs
router port-forward page

How to know the timeout is fixed

  • ServerBuddy's status checker returns online state, version, players, MOTD, and latency.
  • Connection Doctor no longer reports timeout, closed port, DNS failure, or wrong protocol.
  • A player outside your network can connect with the same address.
  • Java or Bedrock edition is verified.
  • The correct TCP or UDP port is open.
  • The domain and raw IP behave as expected.
  • The server logs show normal joins.
  • The server can pass the Add Server live ping.

Before listing a public server, run one final status check. ServerBuddy's Add Server page validates that a server is online and responds to a valid Minecraft status check before creating a public profile with live player count, MOTD, version, uptime, and activity history.

What to do before listing the server

ItemGood stateTool
Public addressDomain or public IP, not a local IPStatus checker
EditionJava, Bedrock, or crossplay path verifiedStatus checker
Java portTCP 25565 or custom TCP port openConnection Doctor
Bedrock portUDP 19132 or custom UDP port openConnection Doctor
DNSA, AAAA, and SRV records point to the right targetDNS provider
Status responseServer returns MOTD, version, and playersStatus checker
server.propertiesPort and status settings are correctserver.properties generator
ListingServer passes live validationAdd your Minecraft server

When those checks pass, add your Minecraft server. If they fail, fix the public reachability problem first.

FAQ

What does connection timed out mean in Minecraft?

It means the Minecraft client did not get a response from the server before the timeout ended. For a server owner, that usually points to a public reachability problem such as a wrong address, blocked port, firewall rule, wrong protocol, or DNS issue.

How do I fix minecraft connection timed out getsockopt?

Treat getsockopt as a network reachability clue. Test the public host and port with Connection Doctor, then check whether Java TCP 25565 or your custom Java TCP port is open. If you are running Bedrock, check UDP 19132 or your custom Bedrock UDP port instead.

Is connection timed out the same as connection refused?

No. Connection timed out usually means the request did not receive a response in time. Connection refused usually means something answered at the address, but no service accepted the connection on that port.

Why can I join my server but my friends get timed out?

You may be joining through a local route while your friends use the public route. Check the public IP or domain, router port forwarding, operating system firewall, cloud firewall, and the correct Java or Bedrock protocol.

What port should I open for a Minecraft server?

For Java, open TCP 25565 unless you changed the port. For Bedrock, open UDP 19132 unless you changed the port. Crossplay setups may need both a Java-side and Bedrock-side listener.

Should I forward both TCP and UDP?

Forward TCP for Java and UDP for Bedrock unless your server software, proxy, or host says otherwise. Opening both is not a fix by itself if the server is only listening on one protocol.

Can DNS cause connection timed out?

Yes. A stale A record, wrong AAAA record, broken SRV record, or domain pointing to a private backend can send players to the wrong place. Test both the domain and the raw public IP.

Why does the status checker show offline when players can join?

On Java, the server or proxy may be blocking or disabling the status response. Check enable-status=true and proxy ping settings. A public server list needs the status response even when direct joins still work.

Can whitelist cause a timeout?

Usually no. A whitelist normally rejects the player after the server is reached. If the player sees a real timeout and the server log shows no connection attempt, check the network path first.

Should I put my public IP in server.properties?

Usually no. For most Java servers, leave server-ip blank unless your hosting provider tells you to bind to a specific address. A wrong bind address can stop the server from listening on the interface players need.

Why does Bedrock time out when Java works?

Bedrock uses UDP, usually port 19132. Java uses TCP, usually port 25565. If you only forwarded TCP, Java may work while Bedrock fails.

How do I check if port 25565 is open?

Use Connection Doctor with your public host, Java TCP, and port 25565 or your custom Java port. Then confirm the router, cloud firewall, operating system firewall, and server process all point to the same port.

Minecraft Connection Timed Out: Causes and Fixes - ServerBuddy