需要为访问受限的专用网络配置哪些 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?

我们的一个客户有一个不允许与 Google API 通信的专用网络,因此需要通过它发送推送通知的网络服务无法通过它发送推送通知,连接到网络的设备也是如此无法访问 Play 商店来更新设备的 Google API 等内容。

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

docs中提到的不就是您要找的吗?

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.

另请参阅这可能有帮助 post