且构网

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

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

更新时间:2022-11-30 17:01:16

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.