且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

必须打开哪些端口才能与 Firebase 数据库通信(不是 FCM 消息传递)?

更新时间:2022-11-30 16:47:11

Firebase 身份验证和 Firebase 实时数据库都使用 HTTPS 在客户端和服务器之间进行通信.这意味着所有通信都通过端口 443.

Firebase Authentication and the Firebase Realtime Database both use HTTPS to communicate between the client and the server. This means that all communication goes over port 443.

数据库通信尽可能使用端口 443 上的 Web 套接字.您可能需要检查防火墙是否会专门阻止 Web 套接字.

The database communication uses web sockets over port 443 when possible. You might want to check if the firewall does something to specifically block web sockets.