Apache 443端口占用解决方法

当运行httpd.exe时,出现如下问题

原因是启动Apache会占用443端口,而443被其他程序占用了。我们只需将Apache默认端口443改掉就行。网上搜了一下,说是更改Apache24confextrahttpd-ssl.conf 文件中的443端口,我试了下,并没有什么用。

经过一番研究,在httpd.conf看到ssl_module引用的是httpd-ahssl.conf。然后找到httpd-ahssl.conf,修改文件里的443为442即可。

#          socache_shmcb_module (for default value of SSLSessionCache)


Listen 443 https    #修改为 Listen 442 https

##
##  SSL Global Context

原文地址:https://www.cnblogs.com/shenh/p/7639882.html