How to Fix "Can't Connect to Server" in Minecraft: Every Common Error Explained
By the MinecraftRanking team · · Live numbers from our own server pings
Timed out, connection refused, unknown host, outdated client: what each Minecraft connection error actually means and how to fix it on Java and Bedrock.
You copied the address, pressed Join and got a red error instead of a lobby. It happens to everyone, and the error text is less cryptic than it looks: each message tells you roughly where the connection broke. This guide goes through the common ones, what they mean and how to fix them on Java and Bedrock.
If you have never joined a server before, start with how to join a Minecraft server and come back here if something goes wrong.
First: is it you or the server?
Before you change any settings, work out which side the problem is on. It saves a lot of time.
- Try a second, big server. If a well known server works and yours does not, your game and internet are fine. The problem is that one server or its address.
- Check the server is up. Every server on our list is pinged regularly, and its page shows whether it answered at our last check. Right now 8,822 of the 25,385 servers we list are online.
- If nothing connects at all, the problem is on your side. Skip to the section on firewalls and accounts below.
"Can't resolve hostname" or "Unknown host"
Your game could not turn the address into a real server. In almost every case it is a typo: a missing letter, a space at the end, or .net where it should be .com.
Fix: copy the address again from the server's listing or website instead of typing it. If it still fails, the server may have changed its address or let its domain expire. Search for the server's name to find its current address.
"Connection timed out"
Your game sent a request and never heard back. Common causes:
- The server is offline or restarting.
- The port is wrong. Java servers use
25565by default and Bedrock servers use19132. A custom port goes after a colon, likeplay.example.net:25570. - You are using a Bedrock address on Java, or the other way round. They are separate, and many servers only accept one edition.
- A firewall, school or work network, or VPN is blocking the connection.
Fix: wait a few minutes and try again, double check the port and edition, and turn off any VPN. Our Java vs Bedrock guide explains why one address does not work on both.
"Connection refused"
This one is different from a timeout. Something answered at that address, but nothing was accepting Minecraft connections on that port. It usually means the server software is not running, or you have the right address with the wrong port.
Fix: check the port first. If it is right, the server is down and the only fix is waiting for it to come back.
"Outdated client" or "Outdated server"
Your game version does not match what the server accepts. "Outdated client" means your game is older than the server. "Outdated server" means your game is newer.
Fix on Java: open the launcher, go to Installations, create a new installation and choose the version the server asks for. Our server pages list the versions each server reports. Fix on Bedrock: update the game from your app store, since Bedrock servers usually expect the latest release.
"Failed to verify username" or "Invalid session"
The server could not confirm your account with Microsoft. This usually happens when your login has gone stale, especially if the game has been open for a long time.
Fix: close the game, restart the launcher, and sign out and back in if needed. If Microsoft's services are having trouble, wait and try again later.
"Multiplayer is disabled"
This is an account setting, not a server problem. Microsoft account privacy settings, often set through family or parental controls, can block online play.
Fix: the account owner, or the parent who manages the account, can allow multiplayer in the Xbox or Microsoft family settings. No server can override this for you.
"You are not whitelisted" or "You are banned"
These mean the connection worked. The server is up and chose not to let you in.
- Not whitelisted: the server only lets in approved players. Read what a whitelisted server is to find out how to get added.
- Banned: the message usually gives a reason and an appeal link. Our guide to appealing a ban walks you through it.
- Server is full: wait and try again, or pick a quieter server. On most servers a paid rank lets you skip the queue, but you never need one to play.
When nothing connects: firewalls, antivirus and networks
If every server fails, look at your own setup:
- Firewall: on Windows, make sure Minecraft is allowed through Windows Defender Firewall. On Java the program to allow is the Java runtime the launcher uses.
- Antivirus: some security suites block games from going online. Add Minecraft as an exception.
- VPN or proxy: turn it off and try again. Many servers also block VPN connections on purpose.
- School, work or public Wi-Fi: these networks often block game traffic. Try another network or your phone's hotspot to test.
- Restart the router. It sounds too simple, but it fixes more connection problems than people expect.
Consoles are a special case
On Xbox, PlayStation and Switch, the Servers tab only offers the featured servers chosen by Microsoft. You cannot type in any address there the way you can on Java or on Bedrock for Windows, phone and tablet. If a server you want is not in that list, play it from a device that lets you add servers, or pick a server that supports your platform. Browse Bedrock servers or cross-play servers to find ones that welcome Bedrock players.
Still stuck? Try a server that works
If one server keeps failing, it may simply be down for good. Plenty of others are online right now. Start with the measured best survival servers, the best Factions servers or every minigame server on our list, and read how to find a good server before you commit to one.
Our pick
Where to play: EvadeCraft
If you want a server that takes both editions and has plenty to do once you are in, EvadeCraft is our pick.
mc.evadecraft.com Vote- Monthly payouts: $1,550 in prizes every month: $550 in real cash plus $1,000 in store credit, for Factions, Skyblock, Prison, KitPvP and Survival players.
- Java and Bedrock, no mods: join from PC, phone or console without installing anything extra.
- Monthly Factions maps: land claims, base raids, KOTH, Outposts and Warden fights, with each map ending on the last day of the month at 8 PM Eastern.
- More on the same network: Skyblock with generators, missions and island upgrades, plus KitPvP and Farm King.
- Easy to join: Java and Bedrock (1.10 - 26.3), no mods or downloads.
- Active: 1,172 players on average over the last 7 days.
Player numbers in this article come from our own server pings.
More reading: How to join a Minecraft server · Server commands every new player should know · How to report a hacker
Frequently asked questions
Why can I not connect to any Minecraft server?
If every server fails, the problem is on your side: your internet connection, a firewall or antivirus blocking Minecraft, a VPN, or account settings that block multiplayer. If only one server fails, that server is usually down, full or on a different version.
What port does a Minecraft server use?
Java Edition servers use port 25565 by default and Bedrock servers use port 19132. If a server uses a different port, its address will include it after a colon, or the listing will show it separately.
Does "Connection timed out" mean I am banned?
No. A ban almost always shows a message that says you are banned, often with a reason and an appeal link. A timeout means your game got no answer from the server at all, which usually means it is down or the address or port is wrong.