In Windows 7, vs debugging web programs cannot be connected.

Source: Internet
Author: User

Debug web in Windows 7ProgramUnable to connect to the browser!

1. Change localhost to 127.0.0.1 for a connection! After the change, the connection is successful (the server configuration is correct)

If the connection still fails, it indicates that your web server configuration is faulty. These problems are often caused by multiple elements. We recommend that you view the system log.

Baidu and Google search for detailed solutions.

2. Because the hosts file in ipvs7 does not have the default localhost, The Connection Starting with localhost cannot be found.

Open the c: \ windows \ system32 \ drivers \ etc \ hosts file in notepad and add "localhost 127.0.0.1"

Warning!

This configuration affects the entire system in localhost addressing mode (including database connection and IIS positioning ).

3. OK. You don't need to change the address in the browser after the next debugging.

 

For more settings and knowledge about host, refer to Baidu Google search reference.

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.