gpt4 book ai didi

linux - (99)无法分配请求的地址 : AH00072: make_sock: could not bind to address xx. xxx.xx.xx:80

转载 作者:塔克拉玛干 更新时间:2023-11-03 01:36:56 27 4
gpt4 key购买 nike

我正在尝试在 apache 中添加一个虚拟服务器:

Listen xx.xxx.xx.xx:80
NameVirtualHost domain.com
<VirtualHost domain.com>
DocumentRoot /home/webserver/domain/html
ServerName domain.com
</VirtualHost>

当我重新启动 apache 时出现此错误:

(99)Cannot assign requested address: AH00072: make_sock: could not bind to address xx.xxx.xx.xx:80
no listening sockets available, shutting down
AH00015: Unable to open logs

知道哪里出了问题吗?

最佳答案

要么你没有以正确的权限启动 apache(只有 root 可以打开端口 80),或者某些东西(可能是另一个 apache)已经在端口 80 上运行。

关于linux - (99)无法分配请求的地址 : AH00072: make_sock: could not bind to address xx. xxx.xx.xx:80,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16179749/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com