转 : Apache启动报错:could not bind to address [::]:443 解决办法

 转:Apache启动报错:could not bind to address [::]:443 解决办法

安装Apache服务器的时候,报如下错误:

Installing the 'apache' service

The 'apache' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: mak
e_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: mak
e_sock: could not bind to address 0.0.0.0:443
AH00451: no listening sockets available, shutting down

AH00015: Unable to open logs

然后网上查了下是安装了VM,那么关掉就好了

netstat -tulnp|grep 443 

发现是2720端口占用了,

然后在任务管理器中关掉pid为2720端口的服务(如果任务管理器没看到pid选项,查看-选择列,进行勾选就可以看到了)

原文地址:https://www.cnblogs.com/zjfblog/p/6916040.html