VS2005 Web site project running, unable to access page through localhost

Source: Internet
Author: User

This is a problem I encountered in the ArcGIS Server Web MAP Application project.
When F5 compiled to run the project, the page was automatically opened using localhost. You must change the localhost to a native IP address before you can access it.
The feeling is unable to parse localhost, the internet searches is can parse localhost, but cannot parse IP. The Hosts file under Windows/system32 needs to be modified.
(backed up under WINDOWS/SYSTEM32/DRIVERS/ETC)
Then I thought about it, this machine is connected to the Internet using a proxy server. It is set in IE. but the visit to the local Web site is also to ask the agent. Open the connection in IE Internet properties. Turn on LAN settings and discover that there is a checkbox under Proxy server that does not use proxy server for local addresses No choice. Check this option. OK save. Re-allow VS project, everything OK.
Solution:
Select the Ie-tool-internet Properties-Connection-LAN settings-Proxy server-do not use proxy server for local addresses check box.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.