2016-02-12 24 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

以釋放端口