What does errno 148 (EHOSTUNREACH) mean?

 
Could be also:
ConstantTypeOS
ERROR_PATH_BUSYWin32 errorWindows
KERNEL_STACK_LOCKED_AT_EXITBugCheck CodeWindows
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 ENETUNREACH events to determine whether failures cluster by host or by network prefix.

References


Looking for a different code? Search another status or error code.