解决安装Apache24安装时443端口被占用方法

来源:互联网 发布:微信share js sdk 编辑:程序博客网 时间:2024/05/23 00:08
D:\Apache24\bin>httpd -k install
Installing the 'Apache2.4' service
The 'Apache2.4' service is successfully installed.
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : AH00072: make_sock: could not bind to address [::]:443
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。  : 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


解决:

D:\Apache24\bin>httpd -k uninstall


执行后

找到D:\Apache24\conf\extra


下面的

httpd-ahssl.conf和httpd-ssl.conf,有443的地方改为442就可以了。


原文地址:http://blog.csdn.net/kunga0814/article/details/53495005

原创粉丝点击