centOS 7 apache 不能访问
Posted weather
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centOS 7 apache 不能访问相关的知识,希望对你有一定的参考价值。
我按照网上的方式在centOS 7安装了Apache服务器,下面是参考地址:
http://www.linuxidc.com/Linux/2014-11/109235.htm
但是只能在centOS上访问,其他主机不行,应该是防火墙的问题
iptables -I INPUT -p TCP --dport 80 -j ACCEPT
允许80端口,然后可以访问了
参考:http://blog.csdn.net/qiandublog/article/details/52505791
以上是关于centOS 7 apache 不能访问的主要内容,如果未能解决你的问题,请参考以下文章
Centos 7 安装redis,修改配置文件不生效外网不能访问。
Apache配置虚拟主机后,不能访问localhost的问题
Linux_Centos7-----可以通过127.0.0.1和localhost访问tomcat,不能通过ip访问tomcat 的解决方法