0XC000023D

STATUS_HOST_UNREACHABLE (0XC000023D) fix: remote system not reachable

Windows Errors Intermediate 👁 1 views 📅 May 26, 2026

That 'host unreachable' error usually means a routing or firewall block. Here's the quick fix and why it works.

I know seeing 0XC000023D is infuriating

You're trying to connect to a remote server or another PC on your network, and instead of a connection, you get this error. It's especially common when accessing file shares (SMB) or remote desktop (RDP) across subnets. Let's skip the theory and get your connection working.

The quick fix — reset the network stack

Nine times out of ten, this error is caused by a corrupted TCP/IP stack or a stale ARP cache. Here's the exact sequence that works for Windows 10 and 11:

  1. Open Command Prompt as Administrator. Hit Win + X and choose "Terminal (Admin)" or "Command Prompt (Admin)".
  2. Run these commands in order:
    netsh int ip reset
    netsh winsock reset
    ipconfig /release
    ipconfig /renew
    ipconfig /flushdns
    arp -d *
  3. Restart your PC. Yes, you have to restart.

Why this works: The netsh int ip reset command rewrites TCP/IP registry keys to defaults. netsh winsock reset fixes the Winsock catalog — which often gets corrupted by third-party VPNs or antivirus software. The arp -d * command clears the ARP cache, so your machine stops trying to reach old MAC addresses. I've seen this fix resolve 0XC000023D on Windows 11 22H2 and Windows 10 20H2+ in under five minutes.

If the reset doesn't work — check your firewall

Sometimes the error pops up because Windows Defender Firewall or a third-party firewall is blocking outbound traffic on ports 445 (SMB) or 3389 (RDP). Here's how to test it:

  1. Open Windows Defender Firewall with Advanced Security.
  2. Click "Inbound Rules" and look for rules named "File and Printer Sharing (SMB-In)" or "Remote Desktop". Make sure they're enabled.
  3. Temporarily disable the firewall entirely (just for testing):
    netsh advfirewall set allprofiles state off
  4. Try connecting again. If it works, you've found the culprit. Re-enable the firewall and either add an exception or tweak your third-party firewall rules.

I've seen this error happen on corporate networks where the IT team's software firewall (like McAfee or Symantec) blocks SMB traffic by default. The fix is to add an inbound rule for TCP port 445.

Less common variations of the same issue

If the basics didn't work, here are three trickier scenarios I've run into:

1. IPv6 misconfiguration

Windows sometimes prefers IPv6 over IPv4, and if your network doesn't support IPv6 properly, you'll get STATUS_HOST_UNREACHABLE. Disable IPv6 temporarily on your network adapter:

  • Go to Network Connections (ncpa.cpl).
  • Right-click your adapter > Properties.
  • Uncheck "Internet Protocol Version 6 (TCP/IPv6)".
  • Click OK and retry.

This fixed it for a user connecting to a legacy NAS running SMB1 on Windows 11.

2. Stale NetBIOS name cache

If you're connecting by hostname instead of IP, NetBIOS might be cached with the wrong address. Run nbtstat -R (capital R) in an admin command prompt to purge the NetBIOS name cache, then retry the connection.

3. Routing issue across subnets

If the target is on a different subnet, check if you have a default gateway configured. Run route print and see if the destination network has a route. If not, add a persistent route:
route -p add 192.168.2.0 mask 255.255.255.0 192.168.1.1
Replace the IPs with your actual network.

How to prevent this from happening again

Once you've got it working, here's what I do to keep it stable:

  • Keep your network drivers updated. Realtek and Intel drivers especially get buggy after Windows updates. Check your manufacturer's site, not just Windows Update.
  • Don't run two firewalls. Windows Defender + a third-party antivirus firewall is a recipe for conflicts. Pick one.
  • Schedule a weekly network reset. I'm not kidding — I have a scheduled task that runs ipconfig /flushdns and arp -d * every Sunday morning. It prevents stale cache issues.
  • Use IP addresses in your connection strings. If you're mapping a network drive or setting up an RDP shortcut, use the IP instead of the hostname. That bypasses DNS and NetBIOS entirely.

That's it. You should be back up and running in less than ten minutes. If you're still stuck after all this, it's almost certainly a hardware issue — bad cable, faulty switch, or a router that needs a power cycle. Good luck!

Was this solution helpful?