Site icon EfmSoft

What does errno 111 (ECONNREFUSED) mean?

 
Could be also:
ConstantTypeOS
ERROR_BUFFER_OVERFLOWWin32 errorWindows
EIDRMerrnoWindows
SESSION3_INITIALIZATION_FAILEDBugCheck CodeWindows
VSL_INITIALIZATION_FAILEDBugCheck CodeWindows
Previous Next
EHOSTUNREACH EIDRM

ECONNREFUSED

ECONNREFUSED means the connection attempt received a decisive rejection rather than simply waiting without a response. For a TCP stream connection, a common reason is that no process is listening on the target address and port. The TCP specification defines reset processing for attempts that do not match an existing connection; operating systems expose that outcome through their socket API.

The error does not prove that the destination host is down. It can also result from a service that is stopped, bound only to loopback or another interface, behind an unhealthy load balancer, or intentionally rejected by a firewall or proxy. UDP applications can see a similar result after the network reports that no receiver is associated with the destination.

Useful checks

POSIX connect() · RFC 9293: TCP · Linux UDP errors


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

Exit mobile version