EHOSTUNREACH
No route to host
Seen in Node.js, Linux (No route to host), browsers (ERR_ADDRESS_UNREACHABLE)
Your machine or a router has no path to that address.
Common causes
- The address is private or on a network you are not connected to (VPN down).
- An IPv6 address on a network without IPv6.
- A router or firewall replies "unreachable".
How to fix it
- Check VPN and routes for private addresses.
- Prefer IPv4 or fix IPv6 connectivity.
- Trace the path to see where it stops.
Got a different message? Paste it into the error explainer.
Related errors
- ECONNREFUSED · Connection refused
- ETIMEDOUT · Connection timed out
- ECONNRESET · Connection reset by peer
- getaddrinfo ENOTFOUND · The hostname doesn't exist in DNS
- getaddrinfo EAI_AGAIN · Temporary DNS failure
- ENETUNREACH · Network is unreachable
- Broken pipe · Wrote to a connection or pipe that was already closed
- Software caused connection abort · Your own system aborted the connection
- WSAETIMEDOUT (10060) · Windows connection attempt timed out
- WSAECONNREFUSED (10061) · Windows connection refused
- Request timed out. · Ping got no reply
- Destination host unreachable. · No path to the host could be found