adandelion

诗词在线 http:/www.chinapoesy.com


诗词在线 |唐诗|宋词|元曲|诗经|离骚|乐府|现代诗歌

博客园 首页 联系 订阅 管理

MsDepSvc.exe 站用了80端口

1. Issue description

I change the IIS 5.1(xp) port from 8080 to 80
(1)The website is is unavailable and has error mark.

got to he event view and find the following error:

The service could not bind instance 1.  The data is the error code.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


(2)when restart the website ,system prompt following error:

Unexpected error 0x8ffe2740 occurred.

2. finding and troubleshooting

I google this error message and find that the iis port are in use by another process.

Use following step to find the process which use 80 port

(1) open cmd and type in  netstat -ano|findstr "80"

following are the output

  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       1376
  TCP    0.0.0.0:8080           0.0.0.0:0              LISTENING       2444
  TCP    192.168.47.176:2800    219.64.33.37:1352      ESTABLISHED     3928

(2)type in  tasklist|findstr "1376"

following is the output
MsDepSvc.exe                1376 Console                 0     13,356 K

The port 80 is used by MsDepSvc.exe.

I rememberd that I install WebDeploy_2_10_x86_en-US.msi  to deploy the asp.net mvc application


Note: we can use following command to export port information to a file:

netstat -ano >port_list.txt


3.solution:

1. run services.msc in cmd  to open services window

 find the "Web Deployment Agent Service" service and stop it.


How to change the port in Web Deployment Agent Service?

posted on 2011-11-08 10:58  猪头  阅读(1875)  评论(0编辑  收藏  举报

欢迎访问诗词在线http://www.chinapoesy.com   诗词在线 |唐诗|宋词|元曲|诗经|离骚|乐府|古典诗歌|现代诗歌|古典诗词|现代诗词|诗歌可以陶冶你的情操、丰富你的生活,让你更具内涵。诗词在线打造中国最好的诗词社区!

诗词在线社区

126在线阅读网 历史书籍、文学书籍、小说。。。