Web services can't be reached locally
I cannot browse to http://sub.domain.tld/servicename.asmx from the box on which the services are hosted. I've tried adding manual entries to my hosts file like this:
127.0.0.1 sub.domain.tld
localhost sub.domain.tld
10.1.1.1 sub.domain.tld #this is the LAN IP of the开发者_如何学JAVA server
This doesn't seem to fix it. My web applications need to use these web services and they're hosted on the same box.
Open a command line. Ping the domain. If it says request timed out you have a dns error. If it says host unreachable you have a network misconfiguration that is fatal.
Make sure in IIS you have the website listening on the IP you want and listening on port 80. Check any other configured websites to make sure there are no conflicts. Make sure. Net is enabled for that website and that the web extensions for that version of the framework are turned on and not listed as prohibited.
Check IIS and see if the website is setup explicitly on a domain/ip. Chances are IIS isn't allows it because it configured for a specific address and disallowing any variations.
hosts file which you've done. check IIS and set the site to all unassigned IPs. maybe try ipconfig /flushdns
精彩评论