Unable To Connect To The Remote Server

Unable To Connect To The Remote Server

 Some times our web applications or windows service or windows desktop applications throws "unable to connect to the remote server".

Make sure url or IP address is correct.

Your port might be in use by other process. solution:
Proxy server Make sure that your not using Proxy server to access internet. If you are using proxy server to access internet,
                   contact your administrator and get the network credentials, IP address and port. Add those details in you application
                   to let it use proxy server.

Anti virus:     if you are using ESET antivirus, you need to setup rules init to allow your application in / out request on xxxx port number.

                   symantech: Disable it and then try.

Application: Application is trying to access apache server url. URL maybe case sensitve use correct url. 

                  use command prompt and execute telnet command

Telnet   ip_address   port_number

and see the response.


Open command prompt and type

Telnet 80

telnet website on port 80

If you see a blank screen, that means you are able to connect and your internet is OK.
If you see connection timeout or unable to connect, there are many reasons.

  1. The website you are trying to connect is down or.
  2. The your network administrator has changed the password or proxy server address.
    Ask your administrator about changed new proxy address or port or password and
    configure your application accordingly.
  3. You might have installed new antivirus where it founds your application as spyware.
    Configure your application.


Connection PoolingUnable To Connect To The Remote ServerMS SQL server shutdownasp net image uploadclient server communicationThis command requires an asynchronous connection Set Asynchronous Processing3dtrue in the connection stringASP.net monitor server OLE DB provider SQLNCLI for linked server returned message The partner transaction manager has disabled its support for remotenetwork transactionsAsp.net Create Folder On ServerC# Read CSV FileConnectionStrings or appSettings in Asp.net


My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in ASP.net year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.

I'm Satalaj.