Find out why there's no route to your server
ERR_
Why there's no route to the address
DNS holds a private address
Addresses in 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 belong to internal networks and aren't routed across the internet. A record copied from an internal setup works inside that network and fails everywhere else.
The address no longer leads to your server
After a move, a rebuild or an address you gave back to your host, the old IP can sit on a network with no machine behind it. The last router before it can then report the host unreachable.
The server or its network is down
A powered-off server or a broken link at the host leaves the final router unable to deliver. Some routers report that back, which Chrome shows as this error, while others stay silent and the browser times out.
A firewall rejects with a prohibited message
Some firewall rules answer blocked traffic with an ICMP host prohibited or administratively prohibited message, instead of dropping it or resetting the connection. Linux treats that message as host unreachable, so visitors on Linux, Android and ChromeOS see this error even while your server runs fine.
The visitor's own routing
A VPN that sends traffic down a path with no route to your server, or a broken network setting on one computer, can produce the error for that visitor alone.
net_
Check the address and the route to it
# Which addresses does the name point to?
dig +short yoursite.com A
dig +short yoursite.com AAAA
# Follow the route to the address dig printed (203.0.113.10 stands in for it)
# !H or !N after a hop means it reported the host or network unreachable; !X means prohibited
traceroute 203.0.113.10
Read the address and the route
If
digprints an address starting with10.,192.168.or anything from172.16.through172.31., the record holds a private address that nobody outside that network can reach. Replace it with the server's public address. If people inside your office need the private one, give them an internal DNS answer instead of publishing it, as RFC 1918 advises for DNS records that refer to private addresses.In the traceroute output, the last hop that answers marks where the working part of the path ends.
!Hmeans that router can't reach the host,!Nmeans it has no route to the network and!Xmeans communication was administratively prohibited, while a row of asterisks means no reply came back at all, which a firewall can cause too. The traceroute manual lists these marks.
How to restore a route to your server
- Publish the public address in DNSLook up the server's public IP address at your host and make the A record match. Publish an AAAA record only if the server answers on that IPv6 address.
- Confirm the server still holds that addressAt your host, check that the address is still assigned to the server and that the server is running. An address can change when a server is rebuilt, resized or moved.
- Check your firewall, then your hostIf traceroute ends with !H, !N or !X at your server's own address, check the server's firewall first. If it ends inside your host's network before reaching the server, the routing problem is on their side. Send them the traceroute output and the time you ran it.
- Rule out the visitor's routingIf only one visitor sees the error, ask them to disconnect any VPN and try again, or try mobile data. A route that works from other networks points at that visitor's setup.
Frequently asked questions
Why does the site work in our office but not outside?
The DNS record most likely holds a private address, such as one starting with 192.168. or 10.. Computers on your office network can reach it, but RFC 1918 addresses aren't routed between networks, so visitors outside can't. Publish the public address instead.
Is an unreachable address the same as a timeout?
No. With ERR_
What does a CDN show when it can't reach my server?
Visitors don't see this error then, since their browser reached the CDN. The CDN shows its own page instead, such as Cloudflare's error 523 for an origin it can't reach, and the fix on your side starts with the same DNS and routing checks.
Trace other unreachable sites
- Website reliabilityHear about it when your site goes down, not days later from a customer.
- Cloudflare error 523Confirm the origin address Cloudflare uses, then find the missing or misdirected route between them.
- Connection timed outFind what's swallowing connection requests to your server, from a silent firewall to an address nobody answers on.
- Name not resolvedFind the exact hostname whose lookup failed, on your page or behind it, then restore or remove it.