cd /etc/sysconfig
vi iptables
添加如下图,7001,5148等端口
service network restart
red hat6.4添加开放端口
原文:https://www.cnblogs.com/rdchen/p/13367536.html