How to check connection to the remote server, if the error " Unable to connect to the remote server" is obtained?
If you encounter the error - "Unable to connect to the remove server", here's a step-by-step guide to help you:
-
Ping the Server: Open CMD, Powershell or any console, type
ping
. Exchangewith the actual IP of the machine. If you receive an error message, proceed to the next step. If no error shows, retry connecting to the machine.
-
Check Access to IP: Request your infrastructure team to verify and address any issues related to accessing the IP. This could be due to the machine being down or the firewall blocking traffic.
-
Update Host File: If the problem is DNS related, you can manually add the IP and the server name in the Host file. Navigate to
C:\Windows\System32\Drivers\etc\host
and edit the file accordingly. -
Check Open Ports: Confirm that the necessary port for the connection is open. This can be assessed through the
Test-NetConnection
command. You can follow instructions fromTest - Net Connection link
on how to do this. -
Verify Proxy Configuration: If you're using a proxy between the servers, make sure it's also configured on the client application.
By following these steps properly, you should be able to resolve the problem. If the problem persists, consult with your network or system administrator.