Unable to launch the ASP.NET Development Server because port 'n' is in use.

Published Mon, Mar 30 2009 1:48 PM

I had a problem today. My ASP.NET Development server wouldn’t start because the specified port was already in use. The port number was 50678, so it wasn’t very likely that it actually was in use. But I decided to check anyway. But as expected ‘netstat –a’ gave me no results for port 50678.

Restarting VS or my PC didn’t help….

It had to be some sort of firewall issue then. So I turned of Windows Firewall, but that didn’t help at all. Weird stuff.

Some searching on the net brought me to the following question and the answer from Macros:

http://stackoverflow.com/questions/607562/visual-studio-development-server-using-wrong-port

And (mostly for my own reference) here’s the management summary:

  • the cause: NOD32 is blocking the ASP.NET Development Server.
  • the solution: configure NOD32 to no longer see VS as a web browser. (setup -> advanced firewall setup -> antivirus & anti spyware -> web access protection -> HTTP –> webbrowsers)

 

Hope it helps you as well…

Comments

# alfonso moreno said on Wednesday, April 15, 2009 2:25 AM

thank you very much! i solved the problem.

# Jon said on Wednesday, April 15, 2009 9:02 PM

Nice one, really helped me :)

# gr3go said on Thursday, April 30, 2009 1:44 PM

nice, this article helped me out! thanks a lot!

# Selwyn said on Tuesday, May 05, 2009 3:25 PM

Yes it worked thanks for the solution

# Julian said on Thursday, July 30, 2009 6:05 PM

nice, thanks for the solution

# Vince said on Monday, September 07, 2009 11:14 AM

Thanks, really worked :)

# Tim said on Tuesday, October 06, 2009 3:17 PM

Thanks a lot!!!

# Esteban said on Friday, October 09, 2009 4:36 PM

muchas Gracias me ha salvado!!!

Thanks a lot!!!

# Rodolphe Mirilovic said on Monday, October 12, 2009 5:37 PM

Great news, I needed this for months !

Thanks

# GoranB said on Thursday, October 15, 2009 1:31 AM

Thanks for your post, it was useful for me...

# Ana said on Thursday, October 22, 2009 12:10 PM

Thanks a lot. It worked.

# DAVETİYE said on Monday, November 02, 2009 2:15 PM

güzel davetiye örnekleri davetiye modelleri düğün davetiyeleri

# Pascal said on Thursday, November 19, 2009 8:19 PM

thanks it worked !

# Sana said on Monday, December 07, 2009 4:36 PM

Thanks it worked

:-)

Thanks so much

# Jim said on Thursday, January 14, 2010 4:57 PM

Thanks,  pulled out a lot of hair over this one until I saw your post

# venki said on Friday, April 09, 2010 8:27 AM

Thanks for the solution man.. its really worked...

# Abdul Wahab said on Thursday, May 13, 2010 7:50 AM

Great Discovery Man... it saved my lots of precious time. Thanks

# Libor Tyl said on Friday, May 28, 2010 7:30 AM

Thanks a lot!

# Prashant D said on Thursday, June 10, 2010 8:59 PM

Thanks a lot. Thats the perfect solution.

# isgooner said on Tuesday, July 20, 2010 12:51 PM

Thanks - I was pulling out my hair on this one. Your solution solved the problem.

# igor said on Sunday, July 25, 2010 10:53 PM

Thanks, in additional ESET (NOD32) can block visual studio...and this causes the same problem.

# Abbas said on Wednesday, November 03, 2010 12:15 PM

Thanks a lot, It really helped me out!

# Newith said on Wednesday, November 10, 2010 7:51 PM

Thanks !! You deserve a nobel ! =)

# TiredTone said on Wednesday, December 08, 2010 5:33 PM

Brilliant, thank you.

# Dharmesh Pate; said on Friday, February 18, 2011 11:30 AM

Thnks a lot, its work

# Ionut said on Wednesday, February 23, 2011 3:43 PM

Thanks, It worked, you are the best.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Please add 7 and 1 and type the answer here: