All Linux network error codes
Fri May 5, 2023
Certainly! Here’s a table listing some of the common Linux syscall errors related to networking:
Error Number | Error Name | Description |
---|---|---|
101 | EHOSTUNREACH | No route to the host |
113 | EHOSTDOWN | Host is down |
110 | ETIMEDOUT | Connection timed out |
111 | ECONNREFUSED | Connection refused by the remote host |
112 | ECONNRESET | Connection reset by peer |
114 | EALREADY | Operation already in progress |
115 | EINPROGRESS | Operation now in progress |
116 | ESTALE | Stale file handle (NFS) |
121 | EREMOTEIO | Remote I/O error (NFS) |
124 | EADDRNOTAVAIL | Cannot assign requested address |
125 | ENETUNREACH | Network is unreachable |
126 | ENETRESET | Network dropped connection because of reset |
127 | ECONNABORTED | Connection aborted by the software |
128 | EPIPE | Broken pipe |
129 | EOPNOTSUPP | Operation not supported on transport endpoint |
130 | EADDRINUSE | Address already in use |
131 | EAFNOSUPPORT | Address family not supported by protocol |
132 | EWOULDBLOCK | Operation would block |
133 | EISCONN | Socket is already connected |
134 | ECONNRESET | Connection reset by the peer |
Please note that this is not an exhaustive list, and there are additional syscall errors that can occur in networking scenarios. The error numbers and names provided here are some of the commonly encountered ones.