1)、 编辑文件/etc/sysconfig/iptables 2)、 添加需要开放的端口 -A INPUT -p tcp -m state --state NEW -m tcp --dport 1521 -j ACCEPT 3)、 使服务生效 /etc/init.d/iptables restart 来源:https://www.cnblogs.com/yangxuyang/p/11427773.html 标签 input tcp端口 iptables tcp etc