虚拟 LAN 上的推送通知
推送通知是否取决于运行的网络设备类型?我在虚拟 LAN 上没有收到推送通知。有人有什么想法吗?
Does Push Notification depends on the kind of network device is running on? I do not get Push Notification on virtual LAN. Anyone has any idea?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
检查 VPN 是否阻止端口 5223,因为这是推送通知从 APNS 服务器发送到设备的端口。除此之外,如果您无法在任何其他网络上进行测试以确保其正常工作,则可能是由于证书问题或未正确注册设备令牌等原因造成的。
Check to see if the VPN is blocking port 5223 as this is the port that the push notifications are sent to the device from the APNS servers. Other than that, if you can't test on any other network to make sure it's working, it could be anything from certificate issues, to not registering the device token correctly.
推送通知存在一些例外情况。例如:
未连接到蜂窝数据(或手机信号较低甚至无信号)的 iPhone 在显示屏关闭特定时间段内时可能无法接收推送通知,因为 WiFi 通常会自动关闭以节省电量。
您的显示器是否在没有蜂窝网络访问的情况下长时间关闭?
There are some exceptions to push notifications. For example:
iPhones that are not connected to cellular data (or when the phone has low to no signal) MAY not receive push notifications when the display is off for a specific period since wifi is often automatically turned off to preserve battery.
Were your display off for significant amount of time with no cellular network access?