哪些端口和协议没有谷歌云消息(GCM)使用? [英] Which port and protocol does Google Cloud Messaging (GCM) use?

查看:703
本文介绍了哪些端口和协议没有谷歌云消息(GCM)使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪些端口和协议做谷歌云消息(GCM)使用?

Which port and protocol does Google Cloud Messaging (GCM) use?

我们遇到一些时间的消息犯规获得通过,并已经注意到,这取决于我们坐在哪个网络。

We experience some times that messages doesnt get through, and have noticed that it depends on which network we sitting on.

推荐答案

该设备访问端口5228-5230的GCM服务器。

The device accesses the GCM servers on ports 5228-5230.

请注意:如果您的组织有一个防火墙限制交通   或从互联网上,你需要将其配置为允许   连接性GCM。打开这些端口:5228,5229,和5230。   GCM通常仅使用5228,但是它有时使用5229和5230。GCM   不提供具体的IP地址。它频繁更改IP地址。我们推荐   反对使用访问控制列表,但如果你必须使用它们,采取广泛的方法   如在此支持链接的方法建议。

Note: 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文件:<一href="http://developer.android.com/google/gcm/http.html">http://developer.android.com/google/gcm/http.html

Here is the link to the relevant GCM documentation: http://developer.android.com/google/gcm/http.html

这篇关于哪些端口和协议没有谷歌云消息(GCM)使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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