could not bind to address 0.0.0.0:443 no listening sockets available, shutting down
在Apache安装完成后,启动时会出现如下情况:
(OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs
解决办法是:
通过 netstat -a -o 查看端口占用情况,关闭调用相关端口的进程。 c:\>netstat -a -o Active Connections Proto Local Address Foreign Address State PID TCP zhengrf:1728 localhost:30000 ESTABLISHED 5384 TCP zhengrf:1755 localhost:ftp ESTABLISHED 1848 TCP zhengrf:2464 125.39.102.136:http TIME_WAIT 0 TCP zhengrf:2465 60.190.203.150:http ESTABLISHED 4676 TCP zhengrf:2466 60.190.203.150:http ESTABLISHED 4676 TCP zhengrf:2467 60.190.203.150:http ESTABLISHED 4676 TCP zhengrf:2468 60.190.203.150:http ESTABLISHED 4676