如何在iptables CentOS 6中打开2195端口来激活APNS [英] How to open port 2195 in iptables CentOS 6 for activating the APNS

查看:40
本文介绍了如何在iptables CentOS 6中打开2195端口来激活APNS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了这个解决方案:

I tried this solution:

iptables -I OUTPUT -p tcp --dport 2195 -j ACCEPT
/etc/init.d/iptables stop
/etc/init.d/iptables start

但仍然无法访问端口.

如果我必须为 APNS 打开更多端口,请告诉我.

If there are more ports that I have to open for APNS let me know.

推荐答案

怎么样:

iptables -A INPUT -p tcp --dport 2195 -j ACCEPT
service iptables restart

也可能有帮助.

这篇关于如何在iptables CentOS 6中打开2195端口来激活APNS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆