FreeGameHost.xyz

How to Fix 'Can't Reach Server' Error in Minecraft

By FreeGameHost Team  •  Updated May 2026  •  5 min read

There is nothing more frustrating than firing up Minecraft to jump onto a server with your friends, only to see red signal bars and the dreaded red text stating "Can't reach server" or "Unknown Host".

This network connection error can stem from a wide array of sources: an outdated server runtime, an incorrectly entered port number, firewall blocks, or temporary local DNS hitches. In this comprehensive guide, we'll run through the absolute fastest troubleshooting sequence to isolate the cause and fix it.

Tired of unreliable free hosts dropping offline? Build an instant, stable server on FreeGameHost.

Get Your Free 24/7 Server Now →

Step 1: Double Check the Address Format and Custom Ports

The most common culprit behind a broken connection icon is a tiny clerical typo. If a server does not use the default Minecraft communication channel, your game client will fail to intercept it natively.

Step 2: Flush Your Local Computer's DNS Cache

If the server operator updated their root domain records (e.g., swapping to a shiny new custom web domain), your computer might still have the old location records mapped in its native configuration cache, trigger an Unknown Host flag.

You can force your operating system to clear its out-of-date records instantly:

  1. Open your computer's task bar search box and type cmd to open the Command Prompt.
  2. Type out the following line and hit your enter key:
    ipconfig /flushdns
  3. Restart your Minecraft game client entirely and try refreshing the main multiplayer page.
Free Game Server Alert: Many cheap or seasonal platforms will silently shut down instances or completely regenerate root addresses without warning when system capacity overflows. FreeGameHost guarantees a permanent dedicated slot so you never drop maps or lose node paths.

Step 3: Allow Java SE Binary Through Windows Defender Firewall

When updating to new versions of Minecraft or downloading standalone launchers (like Prism, Modrinth, or CurseForge), the system installs a fresh runtime instance of Java. If you didn't click "Allow Access" on the security popup windows when launching the game, Windows will completely drop outbound data traffic.

  1. Open up your system Control Panel, select System and Security, and hit Windows Defender Firewall.
  2. Click on the setting on the left sidebar: Allow an app or feature through Windows Defender Firewall.
  3. Scroll down until you locate Java(TM) Platform SE binary.
  4. Ensure both the Private and Public check boxes are explicitly checked. Save modifications and restart your terminal.

Step 4: Check if the Server Node Has Gone to Sleep

If you are trying to sync to a profile on highly restrictive external services (such as an introductory free instance on Aternos or Minehut), their automated resource balancers will drop your server container into absolute hibernation if nobody is physically moving in the map space for consecutive minutes.

If the master environment is asleep, it drops its virtual network path entirely meaning your client receives absolute silence back. To resolve this, someone with control permissions must log into that service's administrative dashboard and manually trigger a node restart before anyone can connect.

Frequently Asked Questions

What does Connection Refused mean?
A "Connection Refused" status message means your computer successfully made contact with the hardware node machine, but the actual server program (Paper, Forge, Fabric) isn't running on the port. It's either still booting up or crashed due to a bad mod.
Why does it connect via mobile data but not home Wi-Fi?
If swapping your connection to a mobile hotspot instantly fixes the "Can't Reach Server" text, your home internet router's hardware firewall is likely blocking custom Minecraft ports, or your local ISP's default parental filters are screening incoming custom server connections.

Skip the connection headaches entirely. Experience reliable hosting supported by high-speed global NVMe nodes.

Launch a Lag-Free Server Free →