Fixing "Failed to connect" and "Disconnected"
When a player cannot join your server, Minecraft's error message is often vague. The cause is nearly always one of a short list of things, and the server console usually tells you which. Work through this checklist in order: the first checks are the quickest and catch most problems.
First: where did it fail?
Connection problems fall into three groups. Knowing which one you have saves time.
- The server could not be reached. "Connection refused", "Connection timed out", "Unknown host", or "Unable to connect to world" on Bedrock. Usually the server is off, or the address or port is wrong.
- The server answered and turned the player away. The player sees a reason, such as "You are not whitelisted on this server!". The message is the clue.
- The player got in and was then dropped. "Disconnected", "Timed out" or "Internal Exception" after loading in. This is usually lag, memory or a plugin.
1. Is the server running, sleeping or still starting?
Free servers on Pat Host sleep when nobody is online: after a while empty, the server stops, and the panel shows "Auto-stop in ... if empty". Joining a sleeping server through its address or the hub wakes it. You wait in the Pat Host lobby while it starts and are then sent in. If you left the lobby early, or a big modpack took several minutes to start, join again once it is up.
To check in the panel, open the server. If it is offline, press Start and watch the console. A Java server is ready when the console prints a line like Done (12.345s)! For help, type "help"; joins fail until then. If the server stops again by itself straight after starting, it is crashing, so read the console as described below.
If several servers are unreachable at once, look at the status page. When a location has a problem, nothing you change on your server will help.
2. Is it the right address and port?
The Network tab shows your server's address and port. If you made a subdomain in the Subdomain tab, you can use that instead:
- Java with a subdomain: type just the name, such as
myserver.pathost.xyz, with no port. - Java without a subdomain: type the address and port from the Network tab, separated by a colon.
- Bedrock: the name, with 19132 in the port box. Bedrock 26.50 and newer can join by the name and default port.
Common slips are typing the panel's web address, copying a space at the end, and an old saved entry after the address changed. Delete the entry and add it again.
A quick test: join play.pathost.xyz and pick your server from All servers. If that works, the address the player typed is the problem. See joining the hub.
3. Java or Bedrock?
Java Edition and Bedrock Edition use different network protocols. A Bedrock player (phone, tablet, the Windows "Minecraft" app or a console) can only join a Java server that runs Geyser. On Pat Host that is the Crossplay switch in Settings, available for Paper, Purpur, Spigot and Velocity; see the crossplay guide. Java players cannot join a Bedrock server at all.
4. Do the versions match?
A Java client has to match the server's version unless a plugin bridges the gap. Messages such as "Outdated client!", "Outdated server!" or "Incompatible client!" usually name the version the server expects.
- ViaVersion lets newer clients join an older server. Crossplay installs it for you, or you can add it from the Plugins tab.
- ViaBackwards, added alongside ViaVersion, lets older clients join a newer server.
- Or move the server to the version your players use in the Versions tab; see changing the server version. Back up first: opening a world in an older version can damage it.
Modded servers (Fabric, Forge, NeoForge) are stricter: players usually need the same loader and mods, and a mismatch lists the missing or different mods on screen. ViaVersion does not help there.
5. Premium accounts and offline launchers
With online-mode=true in server.properties, the server checks every player's account with Mojang. Offline (cracked) launchers have no Microsoft login, so the check fails with "Failed to verify username!". The player needs a premium account, or the owner must switch to offline mode, which has real risks. Online mode vs cracked servers explains them.
A premium player who suddenly gets "Invalid session" usually just needs to restart the launcher and sign in again.
6. Whitelist and bans
"You are not whitelisted on this server!" means the whitelist is on and the player is not on it. Add them by typing whitelist add Name in the console (no slash is needed there). Bedrock players joining through Crossplay have a name prefix, such as a dot, so use the name exactly as it appears in the console, or Floodgate's own fwhitelist add command.
"You are banned from this server" is undone with pardon Name or pardon-ip address. A ban plugin keeps its own list, so use its unban command. Anti-VPN and maintenance plugins can also kick players; their message usually names them.
7. Servers behind a proxy
On a Velocity or BungeeCord network, players may reach the proxy but fail when it sends them to a backend. Check these:
- The proxy's server list uses each backend's address and port from its Network tab, not
127.0.0.1orlocalhost. - The backend is running. A backend that has stopped cannot take players.
- Forwarding is set up the same way on both sides. A backend that says "This server requires you to connect with Velocity", or "If you wish to use IP forwarding, please enable it in your BungeeCord config as well!", is expecting forwarding the proxy is not sending.
The full setup is in BungeeCord or Velocity?
Reading the console for the reason
The server writes down why it refused or dropped each player, so the console is the most reliable clue.
- Open the Console tab and leave it open.
- Ask the player to try again, or try yourself.
- Look for new lines containing the player's name. A line such as
Name lost connection: ...ends with the reason, often in more detail than the player saw. - If no line appears at all, the connection never reached the server; go back to steps 1 to 3. On a network, check the proxy's console as well.
- If the server crashed or froze, scroll up to the first error or exception, not the last. "Can't keep up! Is the server overloaded?" means the server is lagging.
Memory is a common cause of everyone being dropped at once. Pat Host sets the Java heap (-Xmx) automatically to 90% of the server's RAM plus swap. If you have set a higher -Xmx yourself, the server can grow past its limit and be killed, so remove it.
Older output is saved in the logs folder in the Files tab, with the current session in latest.log.
Common problems
- "Connection refused": the server is off, or the port is wrong.
- "Connection timed out": wrong address, or the server is still starting.
- "Unknown host": a typo in the address.
- Only Bedrock players fail: Crossplay is off, the port is not 19132, or a new Bedrock release is waiting for Geyser to catch up.
- Everyone times out together: the server froze or ran out of memory. Read the console.
Still stuck?
Open a ticket in our Discord. Pat Host AI answers first, and staff can see every ticket. Include the server's name, the exact error the player saw, roughly when it happened, and the matching console lines.
Related guides: keeping your free server, installing plugins and plugin safety checks.
