login about faq

What does the following error mean?

sockError: 10061
Connect function failed.
SocketError: WSAECONNREFUSED No connection could be made because the target machine actively refused it.

asked Nov 09 '12 at 09:11

chilkat's gravatar image

chilkat ♦♦

edited Nov 09 '12 at 09:11

The connection attempt was rejected. It could be that the server is not running the service (such as an SMTP server if your application is trying to send email). Or maybe the service is running, but not listening at the expected port. Maybe the service only accepts SSL/TLS connections on the customary SSL/TLS port (465 for SMTP for example), or maybe the service is listening at a non-standard port.

It could also mean there's a temporary problem on the server-side, or that the server is too busy to accept new connections.

Finally, it may be that a firewall (software or hardware) may be refusing the connection.


answered Nov 09 '12 at 09:20

chilkat's gravatar image

chilkat ♦♦

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 09 '12 at 09:11

Seen: 17,301 times

Last updated: Nov 09 '12 at 09:20

powered by OSQA