Solution to "ASP. NET Development Server cannot start listening port: XXXX"

Source: Internet
Author: User

When debugging ASP. NET programs in the VS. NET 2005 Environment recently, the startup may fail. The specific error message is as follows:

"ASP. NET Development Server cannot start listening port: XXXX", and then "cannot connect to Localhost Web Server of Visual Studio" appears ".

Using the netstat command in the ms command line environment, the corresponding port was not found to be dedicated. Later, the project solution file (*. sln) file, which can be found in "C: /Documents and Settings/[your username folder]/My Documents/Visual Studio 2005/Projects/[your solution name] "is found in the path.

Open it with notepad or other text tools and find the VWDPort entry, which corresponds to debugging ASP. NET call port, you can change to an uncommon port, such as VWDPort = "9999", save and run ASP. NET program can be successfully debugged.

As for the cause of this problem, it is still unclear. I hope that the root cause will be known as soon as possible, and the above methods will be helpful to friends who have the same problem. :)

Related Article

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.