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在线阅读网 人物传记、古典名著、历史书籍。。。
  • 相关阅读:
    socket架构
    异常处理
    类的装饰器
    with&as上下文管理协议
    软件开发规范
    面向对象-描述符
    面向对象-迭代器
    面向对象编程多种特性
    体验Visual Studio 2015 之 MVC
    MVC 好记星不如烂笔头之 ---> 全局异常捕获以及ACTION捕获
  • 原文地址:https://www.cnblogs.com/adandelion/p/2240826.html
Copyright © 2011-2022 走看看