端口号传入苹果推送通知 [英] Port Number for Incoming Apple Push Notifications

查看:163
本文介绍了端口号传入苹果推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么网络服务,端口号,传出传入或两者,需要为一部iPod touch在网络上公开获得苹果推送通知?

What network services, port numbers, outgoing incoming or both, need to be open on a network for an ipod touch to receive Apple Push Notifications?

我知道传出端口号发送APNS时设置。唯一的一点是,我在学校几乎每个传出(和接收)端口被阻塞,结果的APN不起作用。我相信,如果我跟我的网络管理员,并告诉他要解除的端口,他会这么做。所以我的问题是:什么网络服务,端口号,传出传入或两者,需要为一部iPod touch在网络上公开获得苹果推送通知

I know the outgoing port number to set when sending the apns. The only thing is, in my school practically every outgoing (and incoming) port is blocked and as a result APNs do not work. I am sure that if I talked to my network administrator and told him which port to unblock, he would do so. So my question is: What network services, port numbers, outgoing incoming or both, need to be open on a network for an ipod touch to receive Apple Push Notifications?

推荐答案

根据苹果的文档:端口5223.

According to Apple's docs: port 5223.

如果设备连接的Wi-Fi
  而目前仍无法接受
  通知中,Wi-Fi网络
  您正在使用可能有一个防火墙
  这是阻止端口5223.该端口
  必须打开TCP通信
  通知上班。

If the device is connected over Wi-Fi and is still unable to receive notifications, the Wi-Fi network you're using might have a firewall that is blocking port 5223. This port must be open to TCP traffic for notifications to work.

这篇关于端口号传入苹果推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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