首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >端口80是免费的,但是apache无法连接

问端口80是免费的,但是apache无法连接
EN

Stack Overflow用户
提问于 2016-02-12 01:34:40
回答 1查看 1.1K关注 0票数 0

我正在尝试安装Apache2.4,我已经下载了2.4zip并解压缩它,不,我想安装它,我运行了命令。

代码语言:javascript
复制
C:\Apache24\bin>httpd

我得到了错误代码。

代码语言:javascript
复制
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

然后我运行命令

代码语言:javascript
复制
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,有谁能帮上忙吗?

EN

回答 1

Stack Overflow用户

发布于 2016-02-12 01:41:56

端口未释放其阻塞的,请运行

net stop是/y

解放港口

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/35353341

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档