Can't connect to a Minecraft server?
Common errors and fixes

When Minecraft won't let you into a server, start with the error message on screen. A wrong address, a version mismatch, missing permissions and network trouble each show a different message.

Updated 6 min read vProxy Cloud team

vPanel Player management page (Chinese interface): the server is running, so changes apply right away. Tabs for whitelist, OPs, banned players and banned IPs, and a field to add a player

Find the cause from the error

These are the messages the Java Edition 26.3 client shows in English. If your game runs in another language, you'll see a translation of the same text. When a connection fails, the screen often adds a line with a Java error, such as Connection refused, which stays in English.

Common Minecraft errors when joining a server, their causes and fixes
Error messageUsual causeWhat to do
Can't connect to server The server list can't reach the server. It is offline, the address or port is wrong, or the network is blocking it Press Join Server to see the full error message
Failed to connect to the server Connection refused: getsockopt The server isn't running, or the port is wrong Make sure the server has finished starting and the port after the address matches the server's port
Failed to connect to the server connection timed out Your connection can't reach the server. A firewall, port forwarding or a wrong IP is the usual cause Self-hosted: check the firewall and router port forwarding. Hosted: check the address first, then the service status
Unknown host / Can't resolve hostname A typo in the address, or a custom domain that hasn't taken effect yet Copy the address from the console. If you just set up a domain, wait for DNS to update and try again
Incompatible client! Please use … / Outdated client / Outdated server Your game version doesn't match the server Pick the server's version in the launcher, or install ViaVersion on the server so newer clients can join
Failed to verify username! / Invalid session Account authentication failed Close the game and launcher and sign in to your Microsoft account again. Accounts without a paid copy of the game can't join servers that verify accounts
You are not white-listed on this server! The whitelist is on and you're not on it. Servers created on 26.3 or later have the whitelist on by default Ask an admin to run whitelist add with your name in the console, or turn the whitelist off
You are banned from this server Your account is banned on this server Ask an admin to check the ban list
Multiplayer is disabled The Microsoft account's privacy settings block multiplayer, which is common on child accounts Allow multiplayer in the Xbox privacy settings. Child accounts need a parent to allow it
Mod mismatch errors The player's mods or versions differ from the server's Join with the same version of the same modpack
Connection Lost / Timed out (mid-game) The server froze or crashed, or the network is unstable Check the console log and resource usage. If the server is lagging, work through the lag guide

If you get disconnected mid-game and everyone was lagging at the same time, the server usually can't keep up. Its TPS will tell you.

Self-hosted servers

When friends outside your home can't reach a server running on your own PC, the network setup is the usual culprit. The connection reaches your router first and is then forwarded to your PC, so check every step along the way.

With your own public IP

  1. Friend's computer Your friends have your public IP, not a local IP starting with 192.168.
  2. Internet 203.0.113.5 Your router forwards TCP 25565 to this PC's local IP address.
  3. Forward TCP 25565 192.168.1.20:​25565 The console shows Done, and you can join yourself through localhost. Windows Firewall allows Java through.

CGNAT (the ISP shares one public IP among many customers)

  1. Friend's computer
  2. Internet ISP's shared IP The WAN IP on your router's admin page doesn't match your public IP.
  3. Can't reach Your router Port forwarding has no effect

Haven't set this up before? Start from the firewall step in hosting a server on your own PC.

Hosted servers

When players can't get into a hosted server, the server usually hasn't started properly, the address or version is wrong, or the whitelist is blocking them.

1. Check that the console finished starting

When the console log ends with Done and For help, type "help", the server is up. If the log stops at an error instead, the server never started, and that error is the thing to fix first.

The last lines of the console log in vPanel on a phone: the spark background profiler starts, Done preparing level "world", and the last line reads Done (14.851s)! For help, type "help". The command input field is below
The console log on a phone, ending with Done (vPanel, Chinese interface). You can switch vPanel to English from the menu at the top right.

For an error you can't make sense of, the docs page on reading errors with AI (Chinese) walks through it. You can also open a support ticket with a screenshot.

2. Copy the address from the panel

The server address sits at the top of the console with a copy button next to it, and it shows on the mobile view too. Give friends the full address including the port, for example mc.example.com:25565.

vPanel on a phone: the server is running, with Start, Restart, Stop and Force kill buttons, then the server address mc.example.com:25565, server ID, node and a how-to-join button
The mobile view of vPanel also lets you copy the server address.

3. Check the whitelist and ban list

If a player sees not white-listed, run whitelist add PlayerName in the console. It takes effect right away. To switch the whitelist off entirely, run whitelist off, or set white-list to false in server.properties and restart. Unban a player with pardon PlayerName.

The new vPanel also has a Player management page, where the whitelist, OPs, banned players and banned IPs are handled with buttons. Changes made while the server is running apply immediately.

4. Check the version

Version installer shows which Minecraft version the server runs. Players need the same one. If you're going to change the server's version, make a backup first.

Bedrock Edition

Bedrock Edition gives fewer details and often just says Unable to connect to world, so you have to rule things out one at a time.

  1. Enter the address and the port in separate fields. Don't add :port to the address.
  2. Use your server's port, which may not be the default 19132. On a hosted server, use the entry marked as primary on the Network tab of the control panel.
The port list on the vPanel Network tab, with mc.example.com:25565 TCP marked as primary and, below it, mc.example.com:19133 UDP, assigned automatically when the server switched to Bedrock
Enter mc.example.com as the address and 25565 as the port, the entry marked as primary on the Network tab.
  1. Minecraft on phones updates itself, so the server has to be on the same version.
  2. The Xbox account's privacy settings must allow multiplayer. On a child account, a parent has to allow it in the Xbox family settings.
  3. The Switch, PlayStation and Xbox versions can't add custom servers. Join from a phone, a tablet or the Windows version.

For a Bedrock server you host yourself, open both TCP and UDP in the firewall and router. The older advice of opening UDP only may leave players unable to connect.

References

FAQ

My friends can join but I can't. Why?
Compare your game version, account and network with theirs. Try a different network, such as your phone's hotspot. On a modded server, check that your modpack version matches theirs.
I never turned on the whitelist. Why does my friend see not white-listed?
Since Minecraft 26.3, a newly generated server.properties has white-list set to true. Run whitelist add FriendName in the console, or set white-list to false and restart.
Why can't I reach my self-hosted server through my public IP?
Some routers don't let devices on your home network connect back through your own public IP. People on the same network as the server should use the local IP or localhost, and friends outside use the public IP.
Can Bedrock players join a Java Edition server?
Not by default. A Java server you host yourself can let them in once Geyser is installed. If your friends all play on phones or tablets, run a Bedrock server instead.
Who can I ask if I still can't connect?
If your server is on vProxy Cloud, open a support ticket in the client portal, select the server under related services and attach a screenshot of the error. Support on the free Basic plan is in Chinese (Traditional and Simplified), and the Standard support plan adds English.

Start a Minecraft server

Taiwan from NT$99/mo, Singapore from NT$120Billed every 30 days