When Minecraft can't join a server, it shows a short reason under Failed to connect to the server. Some mean the server is offline, some mean your version doesn't match, and some mean Minecraft's login servers are having problems.
For problems signing in or joining every server at once, check our Minecraft status page.
Common errors and what they mean
- "Connection timed out: no further information": the server didn't answer. It may be offline or full, the address may be wrong, or a firewall is blocking Minecraft.
- "Connection refused" (often shown with
io.nettyin the message): nothing is accepting connections at that address and port. The server is offline, or the port is wrong. - "Outdated client" or "Outdated server": your game version doesn't match the server's. Pick the right version in the launcher's Installations tab.
- "Failed to verify username" or "Invalid session": Minecraft's login check failed. Restart the game and launcher, sign out and back in; if many people have it, Minecraft's authentication servers are down.
Fixes to try
- Check the server address and port, and whether the server's own website or Discord says it's up.
- Restart the game and the launcher.
- Allow Java (
javaw.exe) and Minecraft through your firewall and antivirus. - Turn off your VPN, restart your router, and flush DNS with
ipconfig /flushdns. - If you're hosting the server, check it's running and that port 25565 (Java Edition) is forwarded on your router.
Java Edition or Bedrock?
Java Edition and Bedrock Edition (consoles, phones, Windows store version) can't join each other's servers unless the server runs a cross-play plugin. Bedrock servers use port 19132 by default.
Server down, or connection blocked?
Most Minecraft connection errors come down to one of three things: the server you're joining is offline or full, Minecraft's login services can't verify your account, or something between you and the server is blocking the connection. The error text gives a clue. "Connection timed out" and "Connection refused" usually point to the server or your network. "Failed to verify username" and "Invalid session" point to Minecraft's account services or your login.
For servers you or a friend host
- Make sure the server is actually running and the version matches your game version.
- Use the right address: Java servers use port 25565 by default and Bedrock uses 19132 (UDP).
- If you're hosting at home, the router needs port forwarding to the server's computer, and Windows Firewall needs to allow Java or the Bedrock server.
- Your public IP address may change; if it has, friends will need the new address.
When it's Microsoft's login
Since accounts moved to Microsoft, Minecraft logins depend on Microsoft's sign-in services as well as Minecraft's own. If you can't join any server, including big public ones, and the launcher shows sign-in errors, check our Minecraft status page and the Xbox network status page. Signing out of the launcher and back in refreshes your session token, which fixes many "Invalid session" errors.
Related fix guides
Questions
Why does Minecraft say connection timed out?
The server didn't respond. It might be offline, the address or port could be wrong, or a firewall is blocking the connection.
How do I fix Minecraft "Failed to verify username"?
Restart the game and launcher and sign in again. If it keeps happening for lots of players, Minecraft's login servers are having problems; wait for them to recover.
Why can I join some Minecraft servers but not others?
The servers you can't join may be offline, on a different version, or blocking your region or IP address. Check the server's website or Discord for news.