需要为具有受限访问权限的专用网络配置哪些DNS和端口,以允许Firebase通知和Android更新? [英] What DNS and ports needs to be configured for a private network with restricted access to allow Firebase notifications and Android updates?

查看:60
本文介绍了需要为具有受限访问权限的专用网络配置哪些DNS和端口,以允许Firebase通知和Android更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的一位客户拥有不允许与Google API通信的专用网络,因此需要通过其发送推送通知的Web服务无法访问,而且连接到该网络的设备也无法访问Play商店更新诸如设备的Google API之类的内容.

One of our clients has a private network that doesn't allow to communicate with Google APIs, so a web service that needs to send push notifications through it is unable to, also devices connected to the network aren't capable of accessing the Play Store to update stuff such an the Google APIs of the device.

需要配置哪些URL和端口以允许所有这些通信?

What are the URLs and ports that need to be configured to allow all of this communications?

推荐答案

如果您的组织有一个防火墙,它限制了进出Internet的流量,则需要对其进行配置以允许与FCM连接,以便Firebase Cloud Messaging客户端应用程序可以接收消息.打开的端口是:5228、5229和5230.FCM通常仅使用5228,但有时使用5229和5230.FCM不提供特定的IP,因此您应允许防火墙接受到所有包含的IP地址的传出连接.在Google的15169的ASN中列出的IP块中.

If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with FCM in order for your Firebase Cloud Messaging client apps to receive messages. The ports to open are: 5228, 5229, and 5230. FCM typically only uses 5228, but it sometimes uses 5229 and 5230. FCM 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.

还请参见帖子.

这篇关于需要为具有受限访问权限的专用网络配置哪些DNS和端口,以允许Firebase通知和Android更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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