加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

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

发布时间:2020-12-13 19:34:44 所属栏目:Linux 来源:网络整理
导读:我试过这个解决方案: iptables -I OUTPUT -p tcp --dport 2195 -j ACCEPT/etc/init.d/iptables stop/etc/init.d/iptables start 但仍然无法访问端口. 如果有更多的端口,我必须打开APNS让我知道. 会很乐意获得帮助. 谢谢! 解决方法 怎么样: iptables -A IN
我试过这个解决方案:
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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读