Skip to content

Fix “Failed to connect to the server” in Minecraft

By the Lobbydex teamUpdated Numbers update live from our checks2 min read
Short answer

Minecraft couldn't reach the server. The line under the error says why: the server is down, the address is wrong, or your network is blocking the connection.

On this page7 sections

"Failed to connect to the server" is a heading. The line under it says what actually went wrong. First, rule out the two common causes in one go:

Minecraft servicesLive
  • Session server (joining online-mode servers)Working · 57 ms
  • Minecraft Services (profiles, sign-in tokens)Working · 127 ms
  • Microsoft account sign-inWorking · 153 ms
  • Xbox Live sign-inWorking · 89 ms
  • Mojang API (names and UUIDs)Working · 95 ms
  • Skins and capesWorking · 51 ms

Checked 3m ago from our servers.

Match the second line

"Connection refused" or "Connection refused: no further information"

Something answered at that address, but nothing is listening on that port.

  • The server is restarting or crashed. Try again in a minute.
  • The port is wrong. Copy the address exactly as listed, including any :port.
  • You're using the wrong edition: a Bedrock address in Java, or the other way round. See Java or Bedrock?

"Connection timed out" or "Timed out"

Nothing answered at all.

  • If the check above says the server is offline, it's down. Look for news on its Discord or website.
  • If the check says it's online, something between you and the server is blocking it: a school, work or public network, a firewall, or antivirus. Try another connection (a phone hotspot is a quick test).

"Unknown host"

The address itself couldn't be found. See Fix "Unknown host".

"Invalid session" or "Failed to verify username"

This isn't the server. Minecraft's sign-in couldn't confirm your account. Check the status above, then fully close and reopen the launcher (not just the game) to get a fresh sign-in. More in Is Minecraft down?

"Outdated client" or "Outdated server"

You're on a different version than the server. See the version fix.

Still stuck when it works for others?

  1. Restart your router and your computer or console.
  2. Allow the Java runtime the launcher uses (Java Edition) or Minecraft (Bedrock) through your firewall.
  3. Try a different DNS server, such as your router's default or a well-known public resolver.
  4. If a VPN is on, turn it off (or on) and try again. Some servers block VPNs.
Was this helpful?