ENETUNREACH (errno 101)
errno 101
Network is unreachable
What it means
ENETUNREACH is a Linux error code reported by Linux and other POSIX systems. Its official message is: “Network is unreachable”
How to fix ENETUNREACH (errno 101)
- Verify the peer is still listening: 'ss -lntp' (server side) and test the port
- Add retry with backoff — errno-level network glitches are expected on TCP
- Check conntrack/iptables counters for dropped packets: 'iptables -L -v'
Related errors
Source: Linux kernel errno.h
Last updated: