We have some asmx webservices that are hosted on a local server e.g http:// 192. 168.180. 102/webservice.asmx
However when these are hosted in IIS with another a port or alias e.g
http:// 192. 168.180. 102:8000/webservice.asmx
or http://somehostname:8000/webservice.asmx
..then all the web services on the server just stop working returning 404 errors, however all the other aspx pages work fine. Is there something I'm missing here?
Also if it helps, the .asmx is not hosted separately in IIS, its inside a web application which is hosted in IIS.
This is what the windows error shows for each request made to any aspx page trying to connect to any asmx web service:
Exception type: WebException Exception message: The remote name could not be resolved
Its so weird, because its hosted on the same setup!