Unable to connect to ASP.Net Development Server issue

Under project settings, try specifying a different port like 64773 for example. I have encountered this issue many times and it has always worked for me.


I had this problem with VS 2010, and it was as simple as terminating the "WebDev.WebServer40.EXE" process. Although the icon was no longer showing in the system tray, the process was still running.


Could be a number of things...try these (check the last one first)...

  • Disable IPv6
  • Make sure there isnt an edit in the hosts file for localhost
  • Check firewall/virus settings to allow connections to/from devenv.exe
  • If you can preview in the browser make sure the URL in the browser uses the same port number as the port number shown in the ASP.NET dev server taskbar icon.
  • Try setting a fixed, predefined port in project properties

I got these from a couple of forums elsewhere, hopefully they can help. Good luck. Let us know what works and some more about your environment (firewall, anti virus etc) can help as well.


It cause the already that project port server is running in the current thread. You need to end process using task manager.

Follow below step:

  1. Pres Ctrl+Alt+Delete (Task Manager)

  2. find the asp.net server like WebDev.WebServer40.exe for VS2010 and press end process.

  3. Now u continue with vs2010 run button