How to changing the asp.net development server port?
作者:C/S框架网  发布日期:2011/06/26 14:16:48
How to changing the asp.net development server port?

You must be using a file-based web project... Those start the little web
server that always runs on a non-standard port (so as to not interfere with
IIS which runs on port 80). The port number that is used for this is now in
the solution file (because MS is absolutely sure that we hate project files
for web projects ;-) ). Back up your solution file, open the .sln file with
notepad, and look for an entry like "VWDPort = "3366"" which is where the
port number is configured.

You can change it, but VS will change it automatically again when there is
some sort of problem (ie, your VS2005 just crashed and the web server is
still running and taking up the port, so another port is automagically
assigned ad your VS solution file is auto-changed with the new port number
accordingly).



贴图图片



C/S框架网|原创精神.创造价值.打造精品


扫一扫加作者微信
C/S框架网作者微信 C/S框架网|原创作品.质量保障.竭诚为您服务


上一篇 下一篇