Asp.net Development Server suspension problem solved

Source: Internet
Author: User

Yesterday, I suddenly found that I was debugging the Asp.net application.ProgramIE always displays connecting, and the page is not displayed for a long time. After analyzing the cause, I found that Firefox accessed the Asp.net development server, and the page was not displayed for a long time. Is there any problem with Asp.net development server. I couldn't figure out any direct reason, so I searched online and used some keywords such as Asp.net Development Server not working, Asp.net Development Server Long time no response, Asp.net Development Server hang, etc, I found that some information was not helpful, and some said I could just reset the IE options. I tried a lot of methods and it was not solved. Later, we saw that the Asp.net development server can only be accessed using localhost, but it cannot be accessed from other hosts. However, this is the local machine and should be localhost. Trying to adjust the zone of IE in the middle is not solved. Then I suddenly remembered that I could try 127.0.0.1. The localhost does not work. It seems that there is a problem with the localhost domain name. Ping localhost. Sure enough, localhost is mapped to: 1, so c: \ windows \ system32 \ drivers \ etc \ hosts is found:

# Localhost name resolution is handled within DNS itself.
#127.0.0.1 localhost
#: 1 localhost

All these rows are annotated.

Why is the localhost mapped to: 1? I tried to write a line 127.0.0.1 localhost and restarted it. I found that Asp.net development server is normal.

This is related to IPv6, so all IPv6 is disable. There should be no problem.

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.