When using VS 2008 for testing, it will start Cassini at a specific port such as 8000. But sometime the port is in use. When try to start a web project, you will get message as :
Unable to launch the ASP.NET Development Server because port '8000' is in use.
How to release the port for Cassini?
(One way is reboot the whole computer, but that is not what I am looking for for many reasons)
KentZhou
Participant
1018 Points
573 Posts
How to release port for Cassini?
Mar 13, 2009 03:03 PM|LINK
When using VS 2008 for testing, it will start Cassini at a specific port such as 8000. But sometime the port is in use. When try to start a web project, you will get message as :
Unable to launch the ASP.NET Development Server because port '8000' is in use.
How to release the port for Cassini?
(One way is reboot the whole computer, but that is not what I am looking for for many reasons)
Steelymar
All-Star
15283 Points
2239 Posts
Re: How to release port for Cassini?
Mar 13, 2009 03:10 PM|LINK
Restart only the Cassini.
Right click--> Stop.
Stefan Uzunov
MCTS: .NET Framework 3.5 ASP.NET Applications
KentZhou
Participant
1018 Points
573 Posts
Re: How to release port for Cassini?
Mar 13, 2009 03:19 PM|LINK
Thanks. But actually there is no any instance of Cassini started at the time. That is why I am confused.
Is there is anyway to find out which process is using the spefific port?
Steelymar
All-Star
15283 Points
2239 Posts
Re: How to release port for Cassini?
Mar 13, 2009 06:41 PM|LINK
use this:
http://www.zdnetasia.com/techguide/windows/0,39044904,62047950,00.htm
Stefan Uzunov
MCTS: .NET Framework 3.5 ASP.NET Applications
KentZhou
Participant
1018 Points
573 Posts
Re: How to release port for Cassini?
Mar 13, 2009 08:32 PM|LINK
Great. Thanks.