Users mostly receive this error message if the connectivity of the port between the server and the client is blocked and this issue is usually related to the firewall installed. To solve this, you will need to open the port of the firewall for the incoming traffic of the server and/or the outgoing traffic of the client.