22
A
回答
31
該裝置訪問的端口5228-5230的GCM服務器。
注意:如果您的組織有限制交通 或從互聯網上防火牆,你需要將它配置爲允許 連接與GCM。打開這些端口:5228,5229,5230和GCM 通常只使用5228,但有時使用5229和5230 GCM 沒有提供具體的IP。它經常更改IP。我們建議對 使用訪問控制列表,但如果你必須使用它們,採取廣泛的方法 如在此支持鏈接建議的方法。
這是相關的,如果您的設備通過WiFi連接到互聯網。
這裏是鏈接到相關的GCM文件:安卓的https://developers.google.com/cloud-messaging/http
相關問題
- 1. GCM問題(Google Cloud Messaging)
- 2. GCM(Google Cloud Messaging)突然返回401
- 3. 您可以使用Google Cloud Messaging(GCM)的google-api-ruby-client嗎?
- 4. Google Cloud Messaging - 服務器端
- 5. GCM(Google Cloud Messaging)無法覆蓋所有註冊用戶?
- 6. .net Messaging&STOMP協議
- 7. 服務器如何找到GCM(Google Cloud Messaging)註冊ID
- 8. 解析API推送通知(parse.com/GCM)的URL,IP地址,協議和/或端口
- 9. Google Cloud Messaging - 存儲限制
- 10. Spring集成XMPP和Google Cloud Messaging
- 11. 要使用哪種Exchange協議?
- 12. 使用哪種消息傳遞協議?
- 13. Hadoop shuffle使用哪種協議?
- 14. Firebase使用哪種加密協議?
- 15. 在哪裏,何時和多久註冊一次Google Cloud Messaging
- 16. Google如何從Google Cloud Messaging中獲利?
- 17. 哪種認證協議?
- 18. 用於Google Cloud Messaging客戶端的BroadcastReceiver或GCMBroadcastReceiver?在文檔中
- 19. 接收Google Cloud Messaging(GCM)推送通知至UWP Windows 10應用程序
- 20. 將Google Cloud Messaging集成到Android應用程序中 - GCM連接服務器
- 21. .NET - 獲取協議,主機和端口
- 22. Socket.io - 端口,協議和代理
- 23. 哪種協議用於音樂流?
- 24. 如何使用Google Cloud Messaging與數據庫配合使用?
- 25. PushSharp Google Cloud Messaging單元通知
- 26. Google Cloud Messaging服務器的IP地址
- 27. Google Cloud messaging - 示例服務器
- 28. Google Cloud Messaging 7天后過期
- 29. Google Cloud Messaging示例主線程
- 30. C#中Google Cloud Messaging服務器端代碼
新版本也回落到443端口,如果端口5228-5230被防火牆阻止:參見[這個答案](HTTP://計算器的.com /一個/440921分之23784874)。 – 2014-05-21 13:39:33
我們需要打開** **入站請求到該端口或** **出境的請求? – nox0311 2016-10-05 09:46:59