zoukankan      html  css  js  c++  java
  • MsDepSvc.exe 站用了80端口

    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?

    诗词在线
    http://www.chinapoesy.com
    诗词在线 |唐诗|宋词|元曲|现代诗歌|外国诗歌
    126在线阅读网
    http://www.Read126.cn
    126在线阅读网 人物传记、古典名著、历史书籍。。。
  • 相关阅读:
    js实现对身份证校验
    zip解压缩
    zip压缩
    文件内容编解码
    文件的操作
    Mysql账号管理
    深度优先算法DFS
    Java常见知识问答
    Hibernate的单向OneToMany、单向ManyToOne
    Angularjs在线编辑器
  • 原文地址:https://www.cnblogs.com/adandelion/p/2240826.html
Copyright © 2011-2022 走看看