谷歌GCM的IP范围的推送通知服务器? [英] IP range of google GCM push notification server?

查看:1665
本文介绍了谷歌GCM的IP范围的推送通知服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不知道是否有人在这里碰巧知道谷歌的GCM服务器的IP地址范围(对于Android推送通知)?

Wonder if anyone here happen to know the ip range of google's gcm server (for android push notification)?

我需要的信息,使我们的网络团队可以打开防火墙端口为我们传入UAT测试用户验收测试环境。

I need the information so that our network team can open the firewall port for our UAT environment for incoming UAT test.

我试图从developer.android.com/google/gcm/,但没有运气来查找。

I tried to lookup from developer.android.com/google/gcm/‎ but no luck.

我们的网络团队拒绝打开的所有IP范围ASN 15169这是一个相当巨大的名单。

Our network team refused to open all ip range from asn 15169 which is a rather huge list.

推荐答案

我觉得这是一个现有问题的对于谷歌云消息服务器和人的IP地址发现,那些没有被谷歌公布。我也试着找过一次,但没有找到。我可能是错的,但我是pretty的肯定,他们不公布这一点。而不是使用企业的wifi也许,你可以直接使用3G或4G数据计划。

I think there is an existing question IP address for Google Cloud Messaging server and the person found out that those are not published by Google. I also tried to look for it once but couldn't find. I might be wrong but I am pretty sure they don't publish that. Maybe instead of using corporate wifi, you can use direct 3G or 4G data plan.

在对<一评论href="http://stackoverflow.com/questions/13264976/why-gcm-is-not-giving-push-notification-in-android-device">why GCM没有给推送通知在Android设备?有人的问题已经提到,他打开端口5258,29,30,然后他能够从防火墙后面GCM服务器接收的REGID。

In a comment on why GCM is not giving push notification in android device? question someone has mentioned that He opened the ports 5258,29,30 and then he was able to receive the regId from GCM server behind firewall.

另外,我觉得在<一个答案通过@ 叶兰 href="http://stackoverflow.com/questions/15571576/which-port-and-protocol-does-google-cloud-messaging-gcm-use">Which端口和协议做谷歌云消息(GCM)使用?会有所帮助。它说:

Also I think the answer by @Eran on Which port and protocol does Google Cloud Messaging (GCM) use? will be of help. It says:

该设备访问端口5228-5230的GCM服务器。如果您的组织有一个防火墙流量限制或从互联网上,你需要将其配置为允许连接与GCM。打开这些端口:5228,5229,5230和GCM通常只使用5228,但有时使用5229和5230 GCM没有提供具体的IP地址。它频繁更改IP地址。我们建议不要使用访问控制列表,但如果你必须使用它们,采取广泛的方法,如在此支持链接建议的方法。

The device accesses the GCM servers on ports 5228-5230. If your organization has a firewall that restricts the traffic to or from the Internet, you'll need to configure it to allow connectivity with GCM. 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. It changes IPs frequently. We recommend against using ACLs but if you must use them, take a broad approach such as the method suggested in this support link.

这是相关的,如果您的设备连接到通过WiFi网络。

This is relevant if your device is connected to the internet via WiFi.

希望这有助于一点。

这篇关于谷歌GCM的IP范围的推送通知服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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