SElinux配置:
~]# getenforce
Enforcing
~]# setenforce 0
防火墙:
~]# iptables -vnL
其执行结果中如果有防火墙规则,需要进行如下处理:
Centos 6:
~]# service iptables stop
~]# chkconfig iptables off
~]# iptables -F
Centos 7:
~]# systemctl disable firewalld.service
~]# systemctl stop firewalld.service
~]# iptables -F
原文地址:http://blog.51cto.com/liujingyu/2105089