传入 Apple 推送通知的端口号
需要在网络上打开哪些网络服务、端口号、传出传入或两者兼而有之,iPod touch 才能接收 Apple 推送通知?
我知道发送 apns 时要设置的传出端口号。唯一的问题是,在我的学校,几乎每个传出(和传入)端口都被阻止,因此 APN 不起作用。我确信,如果我与网络管理员交谈并告诉他要解锁哪个端口,他会这样做。所以我的问题是: 需要在网络上打开哪些网络服务、端口号、传出传入或两者兼而有之,ipod touch 才能接收 Apple 推送通知?
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?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据 Apple 文档:端口 5223。
According to Apple's docs: port 5223.
要使 APNS 在您的网络内工作,您必须能够与 17.0.0.0/8:5223 进行通信。 TCP 连接从 iOS 设备建立到 *.push.apple.com。不需要入站 TCP 连接。
For APNS to work from within your network you must be able to communicate to 17.0.0.0/8:5223. The TCP connection is made from iOS device out to *.push.apple.com. There is no inbound TCP connections required.