zoukankan      html  css  js  c++  java
  • [Tips]解决make_sock: could not bind to address 0.0.0.0:XXXX

    # Sympton

    在运行apache_start.bat时出现以下错误:

    make_sock: could not bind to address 0.0.0.0:XXXX

    Investigation:

    从错误信息看来,应该是80端口已经被占用,可以使用netstat查看端口情况:

        - netstat -a -o

          直接上图    

         

        - netstat -ab

          如果想直接打印出运行程序的名字,也可以使用。    

         

    Service具体情况:  

        - TeamViewer7

          C:\Program Files (x86)\TeamViewer\Version7\TeamViewer_Service.exe

        - VMware Workstation Server

          "C:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" -u "C:\ProgramData\VMware\hostd\config.xml"

    # Solution

    从上面分析看来,Teamviewer和VMware服务分别霸占了80(http)和443(https)端口,把他们Kill或者disable了就行。

    对于Teamviewer还可以在Options中禁用80/443端口:

  • 相关阅读:
    Swagger入门
    UOS
    Java多线程
    英语语法小知识-Unit1
    MVVM
    Vue入门
    Mybatis入门
    Python pip install
    js 触发LinkButton点击事件,执行后台方法
    ajax 请求 ascx
  • 原文地址:https://www.cnblogs.com/piaoger/p/2538221.html
Copyright © 2011-2022 走看看