传入 Apple 推送通知的端口号

发布于 2024-08-15 17:43:34 字数 239 浏览 4 评论 0原文

需要在网络上打开哪些网络服务、端口号、传出传入或两者兼而有之,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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

温暖的光 2024-08-22 17:43:34

根据 Apple 文档:端口 5223。

如果设备通过 Wi-Fi 连接
并且仍然无法接收
通知、Wi-Fi 网络
您使用的可能有防火墙
也就是阻塞了5223端口。这个端口
必须对 TCP 流量开放
通知工作。

According to Apple's docs: port 5223.

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.

我一直都在从未离去 2024-08-22 17:43:34

要使 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文