启动 D:\software\httpd-2.4.52-o111m-x64-vc15\Apache24\bin\httpd.exe 程序

D:\software\httpd-2.4.52-o111m-x64-vc15\Apache24\bin>httpd.exe

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:443

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address 0.0.0.0:443

AH00451: no listening sockets available, shutting down

AH00015: Unable to open logs

打开cmd命令窗口,使用如下命令查看系统网络:

netstat -ano ------------------------ 说明 a:显示所有连接和监听的端口 n:用ip地址的形式显示地址和端口 o:显示和连接想关的进程id。

 

 

 

找到占用 443 端口进程的 pid,我的电脑上为 9088 .

 

然后打开任务管理器,点开进程,找到pid为 9088 的进程,发现是一个叫 vmware-hosted.exe 的进程。

 

443端口被占用,修改conf目录中的extra目录下的两个文件,将其443端口修改为442或444均可

D:\software\httpd-2.4.52-o111m-x64-vc15\Apache24\conf\extra

httpd-ahssl.conf

httpd-ssl.conf

 

 

REF

https://blog.csdn.net/qq_39285144/article/details/100585995

 

查看原文