Linux Apache httpd:bind:地址已在使用中

Linux Apache httpd:bind:地址已在使用中,linux,apache,Linux,Apache,当我将appache交叉编译成DM8168时,它显示为“httpd:bind:Address ready in use”。我将端口80更改为any,例如8080,90…它也不工作。有人能告诉我为什么吗?感谢您的帮助。确保端口80未被任何其他服务或应用程序使用,并使用netstat命令: netstat-tulpn | grep:80 如果端口80或您分配的其他端口(8080,90)绑定到httpd,则终止所有进程: killall -9 httpd 现在启动httpd: /etc/init.d

当我将appache交叉编译成DM8168时,它显示为“httpd:bind:Address ready in use”。我将端口80更改为any,例如8080,90…它也不工作。有人能告诉我为什么吗?感谢您的帮助。

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

netstat-tulpn | grep:80

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

killall -9 httpd
现在启动httpd:

/etc/init.d/httpd start

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

在您的conf文件中查找Listen的副本