Apache 无法通过网络访问

Apache 无法通过网络访问

我在一台旧的富士通服务器上安装了 CentOS 6.x,想将其用作 Web 服务器。我可以通过 localhost 和 127.0.0.1 访问 apache,并且已经可以通过端口 localhost:10000(不管它是什么 ^^)访问 webmin,但我无法通过服务器的 IP 地址和我的笔记本电脑(通过路由器上的 LAN)访问它。我做错了什么?是防火墙问题还是其他问题?

CentOS 安装在 ESXi 虚拟化软件上,但我认为这不会有什么区别......

答案1

在 centos 6.x 中,iptables(防火墙)默认启用。

“service iptables stop”停止 iptables

如果你想在防火墙上打开一些端口,请按照本指南操作http://www.cyberciti.biz/faq/howto-rhel-linux-open-port-using-iptables/

相关内容