Penguin
Note: You are viewing an old revision of this page. View the current version.

Connection refused

You would usually run into this when attempting to use connect(2) a socket(2). "Connection refused" means that the remote host rejected your connection attempt. This usually means that the host was not listening on the port you attempted to connect on, or there is a firewall preventing you from connecting to that port.