VS2010 cannot connect to ASP. Development Server

Source: Internet
Author: User



http://blog.csdn.net/xqf309/article/details/7881257



today Open the previous program, press the F5 to debug, wait for the form to appear : Unable to connect to ASP. NET Development Server.



Display as:








on the Internet to check the solution, there are two main solutions (looking for the process encountered in the six period Ji Glory Brother Siang October 2010 in Csdn posts , the same problem , there is no effective solution, do not know what the method of light elder brother to solve:





The first: Disable Windows Firewall and the Firewall service is turned off.



How to turn off services: Start-to-control Panel, manage tools-services








This method I tried, but no effect, not only Windows Firewall, what  trojan firewall, rising firewall are closed, the problem still exists.





The second method:



Open VS, Project Explorer, right-click on the Web project, select Properties:






Fill in the specific port, such as 2851, fill it out and run again.


















Http://blog.sina.com.cn/s/blog_6316d5610100vd97.html



Half a month ago when the site is also good, half a month in the middle of not using VS, the day before the debugging site when the problem occurs. Turn off the Windows Firewall, turn off eset, repair, reload VS2010 are not resolved.



Workaround:



Because the port number is not set, change the auto-search port number property of the Web project to False and set the port number to 8088 (any). As shown



Unable to connect toASP. Development Server "Name=" image_operate_27621322285943398 "alt=" vs2010 Unable to connect toASP. Development Server "src=" http://s13.sinaimg.cn/bmiddle/6316d5614b29ca187525c& 690 ">


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.