[linuxcommandline.net]$  

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 NumberError NameDescription
101EHOSTUNREACHNo route to the host
113EHOSTDOWNHost is down
110ETIMEDOUTConnection timed out
111ECONNREFUSEDConnection refused by the remote host
112ECONNRESETConnection reset by peer
114EALREADYOperation already in progress
115EINPROGRESSOperation now in progress
116ESTALEStale file handle (NFS)
121EREMOTEIORemote I/O error (NFS)
124EADDRNOTAVAILCannot assign requested address
125ENETUNREACHNetwork is unreachable
126ENETRESETNetwork dropped connection because of reset
127ECONNABORTEDConnection aborted by the software
128EPIPEBroken pipe
129EOPNOTSUPPOperation not supported on transport endpoint
130EADDRINUSEAddress already in use
131EAFNOSUPPORTAddress family not supported by protocol
132EWOULDBLOCKOperation would block
133EISCONNSocket is already connected
134ECONNRESETConnection 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.