That usually means that the service is not running on the server, the port is not open through a firewall or some other service has taken the port.
Answer/Solution: Connection refused. No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host.
Either you went to the wrong host, or the server application you're trying to contact isn't executing.
Check the destination address you are using. If you used a host name, did it resolve to the correct address?
If the host name resolution uses a local host table, it's possible you resolved to an old obsolete address.
It's also possible that the local services file has an incorrect port number (although it's unlikely).
Sources:
http://support.ipswitch.com/kb/WSK-19980709-EM01.htm
http://www.ndsengineers.com/ndps-neps/429102-winsock-10061-remote-party-has-refused.html#post2346246
regards,
Philip T