No connection could be made because the target machine actively refused it?

If this happens always, it literally means that the machine exists but that it has no services listening on the specified port, or there is a firewall stopping you. If it happens occasionally – you used the word “sometimes” – and retrying succeeds, it is likely because the server has a full ‘backlog’. When you … Read more