Skip to content

Network Troubleshooting

A connection can fail anywhere between the server and the client. You can narrow down the issue by breaking down testing into different layers; on the computer running auto-mcs, from another device on your LAN, and from outside the network.

What’s happening?Start here:
Nobody can join, including youTest the server itself
You can join, but another device on your network can’tTest your local network
Local devices can join, but players over the internet can’tTest the public connection
Minecraft shows an error when trying to connectCommon connection errors

For add-on services with separate ports, use the dedicated guides: Geyser, Simple Voice Chat, BlueMap, or remote access. They use the same diagnostic approach with different ports and protocols.

If you’re troubleshooting connecting to auto-mcs through Telepath, see Telepath networking and connectivity testing instead.

The error on Minecraft’s screen is a clue, not a diagnosis. Match what you see, then follow the test that actually isolates it:

What’s happening?What it usually means:Start here:
Connection timed out / getsockoptThe client couldn’t complete a connection. Check whether the address, firewall, or public route is reachableTest the server, then the public connection
Connection refused / getsockoptThe destination actively rejected the TCP connection, often because nothing is listening on that portCheck the active port and run a TCP test
Unknown host / Can’t resolve hostnameThe address couldn’t be found, or it was entered incorrectlyRe-check the address; playit users can test DNS
No route to host / Network is unreachableThe client’s network doesn’t have a usable route to the destinationFor a LAN address, test your local network. For a public address, test the public connection
Incompatible version / Outdated client/serverThe network connection works, but Minecraft versions or editions differEnsure the client’s game version matches your server’s version
Failed to verify username / Invalid sessionMinecraft authentication failed rather than the network portSign back into the Minecraft launcher and retry; check Mojang’s X account for status updates
Connection reset / Disconnected after joiningThe initial connection may have succeeded, but then something closed itCheck the server Console, version compatibility, and add-ons

If your error doesn’t match the table, copy the complete message and search for its most specific phrase. If the server logs show an exception at the same time, take a look at Server Troubleshooting instead.

A good place to start is to narrow down as many variables as possible. An easy way to rule out bad server or add-on configurations is to create a new Vanilla server; start with something fresh and basic.

If you no longer experience connection issues on a new Vanilla server, that means something in your original server’s configuration is the problem; take a look at the Server Troubleshooting guide to resolve that instead.

If you’re still having issues with a new Vanilla server, make sure your server is actually accepting connections. On the computer running auto-mcs, launch the Vanilla server and open Minecraft Java Edition, select Multiplayer → Direct Connection, and enter localhost:25565. If the port is different, replace 25565 with the server’s active port from the server info on the Launch screen.

Direct Connection in Minecraft


Did it work?

  • Yes: The server is functional and accepting local connections. Continue by testing your local network.
  • No: Make sure localhost is typed correctly, and open the server’s Network Settings to compare the port with the address you entered. On a fresh Vanilla server, this input should be empty and default to 25565. If the server is crashing or shows errors, go through Server Troubleshooting first. If the server starts with no errors, you may need to configure the host firewall.

On the computer running auto-mcs, copy the LAN IP from the server info on the Launch screen; this is the address of this computer on your local network.

Otherwise:
WindowsOpen Command Prompt, then run ipconfig. Look for IPv4 Address under the active Wi-Fi or Ethernet adapter
macOSOpen System Settings → Network, select the active Wi-Fi or Ethernet connection, and find its IP address
LinuxOpen a terminal and run ip -4 addr. Find the address on the connected Wi-Fi or Ethernet interface

It will usually look like 192.168.x.x or 10.x.x.x. For the following examples, we’ll assume the computer’s LAN address is 192.168.1.50; be sure to use the address you found from this step in its place.

On a second computer connected to your home network, open Minecraft’s Direct Connection and enter that LAN address with the active port, for example 192.168.1.50:25565.

If the second computer connects: your LAN is working, continue to testing the public connection.

If it fails: Continue by checking the next steps below:

On the second computer, open Command Prompt or Terminal and ping the computer running auto-mcs using its LAN IP:

ping 192.168.1.50

A working test will show something like:

Reply from 192.168.1.50: bytes=32 time=2ms TTL=64

A failure may show Request timed out or Destination host unreachable.

If both computers have internet access but can’t see each other locally, check what network each one is actually connected to.

  1. Check the Wi-Fi names. Both devices should be on your regular home network, not Guest, Visitors, a hotspot, or a school/public network. Guest networks commonly block access to other devices
  2. Check the addresses. Compare their local IPv4 addresses using ipconfig or the network settings above. If one is 192.168.1.x and the other is 192.168.50.x, they may be on separate networks
  3. Look for client isolation. In your router settings, find the Wi-Fi/network settings and look for AP Isolation, Client Isolation, Wireless Isolation, or Guest Isolation. These settings will prevent devices on your network from talking to each other

If the Wi-Fi networks and settings are configured properly but connections still fail, continue to the port test.

A reachable computer can still block the server’s port. On the second computer, run the command for its operating system, replacing the example IP/port with the server’s:

Windows PowerShellTest-NetConnection 192.168.1.50 -Port 25565
macOS / Linux terminalnc -vz 192.168.1.50 25565

On Windows, look for:

TcpTestSucceeded : True

On macOS/Linux, look for a succeeded or open connection message. A failed test will show TcpTestSucceeded : False, timed out, or Connection refused, depending on the platform.

  • The TCP test succeeds, but players can’t join: the network path is working. Check the Minecraft version, and the server Console for login errors when a player attempts to join. Also, see Common connection errors.
  • The TCP test fails: check the active port in auto-mcs again, then check the computer’s firewall settings.

If Minecraft works on its own computer but another device can’t connect, the host firewall may be denying incoming connections, or the client firewall may be denying outgoing connections. Don’t disable the entire firewall.

  1. On the computer running auto-mcs, open Windows Security → Firewall & network protection.
  2. Choose Allow an app through firewall. Look for the Java runtime used by auto-mcs, not only the auto-mcs executable.
  3. Allow Java on your trusted Private network. If it isn’t listed, use Change settings → Allow another app to select the Java executable used by the server. To find it while the server is running, open Task Manager → Details, right-click its java.exe (or javaw.exe) process, and choose Open file location. If several Java processes exist, confirm the one launching your server. Administrator permission may be required.
  4. Restart the server and repeat the TCP test from the second computer.

auto-mcs also attempts to add an inbound firewall rule for Java when launching a server. If the administrator prompt was declined, the Console may report that Java is blocked.

Open System Settings → Network → Firewall → Options. Check for a blocked Java runtime and allow incoming connections for the Java application used by the server. Additionally, ensure auto-mcs has access to your local network. This is required for both macOS clients and hosts

There may be different firewall workflows depending on your distribution. Additionally, be sure to use the exact port specified for your server. For example with Ubuntu-based systems, check whether ufw is enabled:

Terminal window
sudo ufw status

If it’s active and your server’s port isn’t allowed, enable it with:

Terminal window
sudo ufw allow 25565/tcp

Then, try the TCP test again. If you’re using a different firewall manager, check its rules instead. To undo this rule later, run sudo ufw delete allow 25565/tcp.

If the port test now succeeds: continue to Test the public connection. If it still fails: check that you’re using the correct LAN IP, the current port, and a server that is listening on that interface. Return to Test your local network if needed.

If people on your LAN can join but players from the internet still can’t connect, the server and LAN configuration are fine; the issue is isolated to the public configuration.

  • Port forwarding: players need your public IP/domain and the forwarded Minecraft port. Addresses like 10.x.x.x, 192.168.x.x, 172.16.x.x–172.31.x.x are private and un-routable. Additionally, auto-mcs displays the public IP in the server info on the Launch screen when it can detect that port forwarding is configured correctly
  • playit.gg: players need the tunnel address shown in the server info, not your public IP. Use the tests below first, then follow playit troubleshooting for agent, tunnel, and account issues

Additionally, you can use a tool like mcsrvstat.us to test the public server address:

  • Shows the correct server: an external service reached the status endpoint. If a player still can’t join, check their version/edition and the connection error.
  • Shows offline: the checker couldn’t obtain a status response, but that doesn’t prove joining is impossible. Try a real client on another network, then follow port forwarding checks or playit tunnel checks depending on how you expose the server.
  1. Ensure your router’s port forwarding rules show the same port that’s in the server info, on the local address of the computer running auto-mcs. See WAN/internet configuration for more details
  2. Make sure the destination LAN IP still matches the host. A DHCP address change can leave the forwarding rule pointing at the wrong computer. See static addressing for more details
  3. In your router, find its WAN IP or Internet IP. On any computer, run curl api.ipify.com to retrieve your public IP address. If these addresses do not match, another network is translating the connection before it reaches your router

If the router rule is correct and LAN works: test again from a different network. If it still fails, ask the router/ISP administrator whether inbound connections or CGNAT prevent forwarding, or use playit.gg instead.

For the full LAN/WAN explanation, see Networking Overview.

See the playit.gg troubleshooting guide instead