Gaming · Minecraft Java Edition

Fix Minecraft Java “Can’t Connect to Server”

Source-checked About 15 minutes

Answer

Confirm the exact Java server address and the version it requires before changing network settings. Try Multiplayer > Direct Connection, then test another server. If only the target fails, contact its owner. If every server fails, refresh the Launcher sign-in and check your connection, VPN, DNS, and firewall.

Guide steps6 steps
  1. Confirm the exact server address
  2. Try Direct Connection
  3. Match the edition and version
  4. Separate one server from every server
  5. Refresh a device-wide failure
  6. Verify the intended server
  7. If it still does not work

Confirm the exact server address

Get the current Java server address from its owner. Remove https:// and extra spaces; keep any required port exactly as supplied.

Try Direct Connection

Open Java Edition > Multiplayer > Direct Connection, paste the address, and select Join Server. Record the full message if it fails.

Match the edition and version

Confirm the server is for Java Edition and that your Launcher installation matches its required version. Bedrock addresses and Java addresses are not interchangeable unless the server explicitly supports both.

Separate one server from every server

Ask the owner whether the server is online, then test one other known-working Java server. If only the target fails, send its owner the address, exact error, version, and time.

Refresh a device-wide failure

If every server fails, close Minecraft, sign out and back in through the Launcher, pause network-heavy activity, return custom DNS to Automatic, and check whether a VPN or firewall is blocking Minecraft.

Verify the intended server

Retry the original address. Success means you reach normal gameplay. If every server still fails, give Minecraft Support the exact errors and checks already completed.

If it does not work

  • Unknown host usually points to a mistyped or obsolete hostname or a DNS problem; confirm the address before changing DNS.
  • Connection timed out or refused on only one server belongs with its owner. A LAN timeout uses Minecraft's dedicated LAN workflow.
  • A Realm failure uses separate Realms guidance because the owner does not need to be online for guests to join.
Sources and verification

Checked against official documentation on . Scope: Minecraft Java Edition.

Source-checked against current Minecraft server-joining, Java multiplayer, network, and LAN guidance.

Continue with

Browse more Minecraft tutorials