| Previous | Next |
| EHOSTDOWN | EALREADY |
EHOSTUNREACH
Host-specific reachability failed
EHOSTUNREACH reports an attempted transport-provider operation to an unreachable host. Solaris troubleshooting material notes that route or intermediate gateway status can make it difficult to distinguish a down host from a down network, which is why the exact route and returned status matter.
The error is not an application-port refusal. ECONNREFUSED means the connection request was actively refused; EHOSTUNREACH says the network path cannot deliver the operation to the host under the current reachability information.
Host-path checks
- Capture the resolved destination address, route, next hop, and address family rather than only the hostname.
- Check gateway and switching policy, neighbor-resolution state, and whether other hosts on the same destination network remain reachable.
- Compare with
ENETUNREACHevents to determine whether failures cluster by host or by network prefix.
References
- Oracle Solaris intro(2) errno catalog
- Solaris Common Messages and Troubleshooting Guide
- POSIX connect() error conditions
Looking for a different code? Search another status or error code.