当启动Apache时:
service httpd start
报错:
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:443
可能是443端口被占用,查看进程:
netstat -lnp|grep 443
返回为空。
搜索下解决方案。
In my case the problem went away when I commented out
Listen :443
in httpd.conf
My GUESS is Apache was already grabbing this port via a virtual host in another config file, and a second attempt to hold onto it confues good old Apache to such an extent that it would just totally give up.
的确因为我在 httpd.conf 存在 Listen :443 这一行,于是注释掉。再启动就正常了。