What are the common reasons for 'Connection Refused' error code 10061 when a service is supposed to be running on localhost?

Responsive Ad Header

Question

Grade: Education Subject: Support
What are the common reasons for 'Connection Refused' error code 10061 when a service is supposed to be running on localhost?
Asked by:
124 Viewed 124 Answers

Answer (124)

Best Answer
(601)
Several reasons can lead to error code 10061 even if the service is running: 1. The service is not actually listening on the port you are trying to connect to (it might be configured for a different port). 2. The service is running but has encountered an internal error and has stopped listening. 3. A firewall is blocking the connection. 4. The application attempting to connect is using the wrong IP address or hostname (though 'localhost' is usually correct). 5. The service is bound to a different network interface than the one the client is trying to connect through (less common for localhost).