| Previous | Next |
| ECONNREFUSED | EHOSTUNREACH |
EHOSTDOWN
EHOSTDOWN is a host-state result in the network error family. It is narrower than ENETUNREACH, which points at network reachability, and different from EHOSTUNREACH, which is usually a routing or neighbor reachability failure. EHOSTDOWN is about the destination host being considered down by the stack or by a protocol client.
In practice, the useful evidence often lives below the application syscall: neighbor discovery, ARP, routing, interface carrier state, remote filesystem logs, or a protocol-specific client such as CIFS/NFS. Retrying application requests without checking that lower state can only create noisy failures.
Distinguish from nearby errors
ENETDOWN: the local network interface or network is down.ENETUNREACH: no usable route to the network.EHOSTUNREACH: route exists, but the host cannot be reached.ECONNREFUSED: the host responded, but refused the connection.
Linux ip(7) · Linux errno(3) · Linux UAPI errno definitions
Looking for a different code? Search another status or error code.