I am getting the "The underlying connection was closed: Unable to connect to
the remote server" message when trying to connect an ASPX page to a simple
Hello World web service. I have read a few posts on this topic but my
situation is different. The problem appears to be a setting with my test
server. The basic scenario is it works when the URL is the short server name
(testserver) but fails with the full server name (testserver.abc.com).
Here's a summary of what works and what doesn't:
These Situations Work
* ASPX and Web Service on localhost
* ASPX on localhost / Web Service on test server
* ASPX and Web Service on test server / use short URL (testserver)
This fails with the error message
* ASPX and Web Service on test server / use full URL (testserver.abc.com)
What I can't figure out is what is causing the failure. If I use the FQDN
(ex. testserver.abc.com) the error message happens. If I replace the URL with
the machine name (ex. testserver) then it works fine.
Since this only happens when both the web page and the web service are on
the machine I don't think it's a proxy issue. Everything I read about this
message says it's a proxy issue so I'm lost as to what to research.
Can anyone think of what it may be? I'd at least like to know what to
investigate.