Why Can't I Connect? Knowledge Base
Makes it easier to resolve TCP/IP connection errors.
Brought to you by:
cohmstede
Add any solutions you have found that you believe might be helpful to other users.
To find solutions, you might want to search for the error code (be sure to check 'Search comments?' in the search criteria.)
Knowledge Base: Knowledge Base Home
Anonymous
Error codes and what causes them:
Connection failure
Windows:
Error code: 10065
No route to host.
Linux:
Error code: 113
No route to host
DNS is able to resolve an IP address but the machine is not responding. The port is blocked by a firewall, the network connection to the machine is broken or the machine itself is down.
Connection failure
Windows:
Error code: 10061
Connection refused.
Linux:
Error code: 111
Connection refused
DNS is able to resolve an IP address and the machine is responding. The port is not blocked by a firewall but it is not listening (active.)
getaddrinfo failure
Windows:
getaddrinfo failed
Error code: 11001
No such host is known.
Linux:
getaddrinfo failed
Error code: -2
Name or service not known
DNS is unable to resolve the IP address. The machine is not viewable from your subnet or the machine name is mistyped.
Last edit: Chris Ohmstede 2013-11-06
Connection failure
Windows:
Error code: 10060
Connection timed out.
Linux:
Error code: 115
Operation now in progress
DNS is able to resolve the IP address, the machine is responding, and the port may or may not be listening (active.) You may need to increase the receive timeout but, more likely, the port is blocked by a firewall.
Could not find a bindable address
Windows:
Error code: 10048
Address already in use.
Linux:
Error code: 98
Address already in use
The bind socket function failed. Another application / service is already connected / listening on the port or the operating system has not yet released it after a close.
Could not find a bindable address
Windows:
Error code: 10013
Permission denied.
Linux:
Error code: 13
Permission denied
The bind socket function failed. The port is reserved by the operating system.
For example:
Windows:
port 445: SMB
port 1025: RPC
Linux:
ports 1 – 1024 are reserved for root.