TCP and UDP Port Numbers
Photon Cloud
Connecting to Photon Cloud, might require, depending on the API, to pass in the proper port for the protocol and purpose of your application. In most cases you don't have to worry about port numbers. The table below is a reference of the default ports to be used with Photon Cloud.
Default Ports By Protocol And Purpose For Photon Chat
Port Number | Protocol | Purpose |
---|---|---|
843 | TCP | Flash / Unity Policy |
4532 | TCP | Client to Frontend (TCP) |
4533 | TCP | Client to Nameserver (TCP) |
5057 | UDP | Client to Frontend (UDP) |
5058 or 27000 | UDP | Client to Nameserver (UDP) |
6062 | TCP | Client to Frontend (rHTTP) |
6063 | TCP | Client to Nameserver (rHTTP) |
9092 | TCP | Client to Frontend (WebSockets) |
9093 | TCP | Client to Nameserver (WebSockets) |
19092 | TCP | Client to Frontend (Secure WebSockets) |
19093 | TCP | Client to Nameserver (Secure WebSockets) |