代理 Google 云消息传递

Proxy Google Cloud Messaging

在我的办公室,wifi 使用代理限制访问互联网。当我的平板电脑使用那个 wifi 时。来自我的服务器的消息(使用 GCM 推送通知)我的平板电脑从未收到。

我想我需要在我的代理上设置一些例外地址,以便我的平板电脑可以接收来自服务器的消息。

任何人都可以给我在我的服务器代理上设置的异常地址列表吗?

谢谢

*对不起我的英语。

这在文档中得到解决 here:

If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with GCM in order for your GCM client apps to receive messages. The ports to open are: 5228, 5229, and 5230. GCM typically only uses 5228, but it sometimes uses 5229 and 5230. GCM doesn't provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169.

这也在另一个 SO 答案中得到解决 here