摘要: 本机无法访问虚拟机的web 检查是不是服务器的80端口被防火墙堵了,可以通过命令telnet server_ip 80 来测试 解决方法如下: /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT 然后保存 /etc/rc.d/init.d/ipta 阅读全文
posted @ 2018-01-31 15:42 累累的博客 阅读(335) 评论(0) 推荐(0) 编辑
摘要: centos 6.5关闭防火墙 # service iptables stop 临时关闭防火墙 # chkconfig iptables off 永久关闭防火墙 centos 7.2 关闭防火墙 从centos7 开始使用systemctl 来管理服务和程序,包括了service chkconfig 阅读全文
posted @ 2018-01-31 15:14 累累的博客 阅读(151) 评论(0) 推荐(0) 编辑