android - 我应该在 Android FCM 的防火墙中将哪个域或 IP 列入白名单?
问题描述
再会,
对于 Android FCM 中的 MFP 推送通知,我很困惑我需要要求网络团队将哪个 IP 地址或域列入白名单。
我指的是以下2篇文章:
1. https://mobilefirstplatform.ibmcloud.com/tutorials/ru/foundation/8.0/notifications/sending-notifications/#scope-mapping
2. https://firebase.google.com/docs/cloud-messaging/concept-options
那么我要告诉网络团队,是否要求他们将 Google 的 ASN 15169 中列出的 IP 块中包含的所有 IP 地址列入白名单?
fcm.googleapis.com
第一篇文章中提到的那个怎么样?是否也需要白名单?意味着网络团队需要将以下两件事列入白名单:
1. `fcm.googleapis.com`, with port 443 (no need 5228, 5229 and 5230?)
2. all IP addresses contained in the IP blocks listed in Google’s ASN of 15169 (with port 5228, 5229, 5230, no need 443?)
我对么?
实际上哪个网址是从 MFP 到 FCM 的?是fcm.googleapis.com
?或者到一个域,它的 ip 会不断变化?
好心提醒。欢迎用外行术语解释,因为我是新手,对网络一无所知。
解决方案
fcm.googleapis.com 用于应用服务器(服务器端)向 FCM 推送/发送/触发通知,而白名单 IP 用于移动设备(客户端)。
推荐阅读
- javascript - 在转换器 konva.js 中为旋转器填充颜色
- php - 无效的 JSON 响应,尝试将数据从表单发送到操作文件
- chatbot - AIML 解析器示例
- php - WP 仅获取父类别的 ID
- reactjs - TouchableOpacity onPress 不工作(模拟器测试)
- arrays - excel数组错误 - 为某些用户而不是其他用户显示
- java - 使用 Java 从 JSON 中提取值
- windows - 如何通过批处理文件中的时间戳识别/获取文件?
- html - tag.class 和 .class:2 个场景
- oauth-2.0 - 如何获取从 AWS Cognito 响应返回的 AD 组?