2016-02-12 44 views
0

我想安装Apache 2.4,我已经下载了2.4 zip并解压缩它,没有我想安装它我跑了命令。端口80是免费的,但Apache不能连接

C:\Apache24\bin>httpd 

我得到了错误代码。

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::f5ef:aeb7:3922:e603. Set the 'ServerName' directive globally to suppress this message 
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80 
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80 
AH00451: no listening sockets available, shutting down 
AH00015: Unable to open logs 

我然后运行命令

C:\WINDOWS\system32>netstat -o -n -a | findstr :80 

TCP 0.0.0.0:80    0.0.0.0:0    LISTENING  4 
TCP 192.168.1.100:50103 104.82.216.43:80  TIME_WAIT  0 
TCP 192.168.1.100:50113 185.31.18.134:80  TIME_WAIT  0 
TCP 192.168.1.100:50114 185.31.18.134:80  TIME_WAIT  0 
TCP 192.168.1.100:50119 72.21.202.25:80  TIME_WAIT  0 
TCP 192.168.1.100:50127 104.156.81.134:80  TIME_WAIT  0 
TCP 192.168.1.100:50131 185.31.19.130:80  ESTABLISHED  9564 
TCP 192.168.1.100:50171 54.225.116.195:80  TIME_WAIT  0 
TCP 192.168.1.100:50176 54.246.122.38:80  ESTABLISHED  9564 
TCP 192.168.1.100:50190 23.23.141.250:80  TIME_WAIT  0 
TCP 192.168.1.100:50191 155.133.248.14:80  SYN_SENT  7212 
TCP [::]:80    [::]:0     LISTENING  4 

,并从这个我觉得80端口是免费的,但我仍然无法运行Apache任何一个可以帮助?

+0

上方的行并不意味着端口80是自由的。这意味着所有接口上的端口80正在监听。罪魁祸首可能是WinHTTP服务 - 您可以尝试在控制面板中停止该服务。 – Rup

+0

啊谢谢,我该如何释放它 – Lawtonj94

回答

1

端口未不含其堵塞,运行

净站是/ Y

以释放端口