gpt4 book ai didi

linux - Apache httpd :bind:Address already in use

转载 作者:太空宇宙 更新时间:2023-11-04 04:02:38 25 4
gpt4 key购买 nike

当我交叉编译appache到DM8168时,出现“httpd:bind:地址已在使用中”。我将端口80更改为任何端口,例如8080,90...它也不起作用。有人能告诉我为什么吗?谢谢你的帮助。

最佳答案

使用 netstat 命令确保端口 80 未被任何其他服务或应用程序使用:

netstat -tulpn| grep :80

如果端口80或您分配的其他端口(8080,90)绑定(bind)到httpd,则终止所有进程:

killall -9 httpd

现在启动httpd:

/etc/init.d/httpd start

在启动 httpd 服务时还要确保您是 root 用户。

关于linux - Apache httpd :bind:Address already in use,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22456667/

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