# Sympton

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

make_sock: could not bind to address 0.0.0.0:XXXX

 

Investigation:

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

    - netstat -a -o

      直接上图    

      [Tips]解决make_sock: could not bind to address 0.0.0.0:XXXX

 

    - netstat -ab

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

      [Tips]解决make_sock: could not bind to address 0.0.0.0:XXXX

 

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端口:

[Tips]解决make_sock: could not bind to address 0.0.0.0:XXXX

相关文章:

  • 2021-10-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-24
  • 2021-06-25
  • 2022-12-23
  • 2021-06-27
  • 2022-01-27
猜你喜欢
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案