linux – 如何打开端口2195在iptables CentOS 6激活APNS

前端之家收集整理的这篇文章主要介绍了linux – 如何打开端口2195在iptables CentOS 6激活APNS前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我试过这个解决方案:
iptables -I OUTPUT -p tcp --dport 2195 -j ACCEPT
/etc/init.d/iptables stop
/etc/init.d/iptables start

但仍然无法访问端口.

如果有更多的端口,我必须打开APNS让我知道.

会很乐意获得帮助.

谢谢!

解决方法

怎么样:
iptables -A INPUT -p tcp --dport 2195 -j ACCEPT
service iptables restart

This也可以帮忙.

-HTH

原文链接:https://www.f2er.com/linux/393746.html

猜你在找的Linux相关文章