Using Computer name in URL causes issues when connecting to Web Services
Posted
by AWinters
on Server Fault
See other posts from Server Fault
or by AWinters
Published on 2010-01-15T15:14:19Z
Indexed on
2010/04/11
8:03 UTC
Read the original article
Hit count: 257
The set of applications I work on all access the same 8 or so web services that we have. These services and applications all reside on the same box and all use the computer name when trying to connect to the web service.
For Example:
If I have a web service called MapDataService and I have an application that accesses it, it would access it by the URL: http://COMPUTERNAME/MapDataService/MapDataService.asmx.
This works in most of the applications that access the web service. However, we have several applications that, when using the computer name in the URL, will not get data returned from the service (actually a 503 is returned). In order to get it to work, the IP address of the system needs to be used in place of the COMPUTERNAME.
This strikes me as very odd considering, as I mentioned before, all applications and services are on the same box and most other applications usr the COMPUTERNAME with no issues.
Can someone give me some insight as to what could be causing this? We have no access to IIS logs and what logs we did get (this is on a customer site) are not very useful.
© Server Fault or respective owner