added a message in case socket connection is refused

In my case this was due to the firewall was blocking the connection.