server | v4 switch to v3  

TCP and UDP Port Numbers

Photon Cloud

Please find a list of ports as configured by default for Photon Chat and Photon Realtime in each respective page.

Photon Server

PhotonControl automtically setup Windows Firewall to allow Photon Server to communicate on the network. If you don't use Photon Control, check out the Firewall Settings page for how to do so. Make sure all operating systems, firewalls and routers in your network are setup to allow traffic on the required ports as needs be.

Define your own ports within the Photon Server configuration.

Default Ports by Protocol and Purpose for Photon Server

Port Number Protocol Purpose
843 TCP Flash / Unity Policy
4520 TCP LoadBalancing Application (Internal, S2S): Game Server to Master Server (TCP)
4530 TCP LoadBalancing Application: Client to Master Server (TCP)
4531 TCP LoadBalancing Application: Client to Game Server 1 (TCP)
4532 TCP LoadBalancing Application: Client to Game Server 2 (TCP)
5055 or 27001 UDP LoadBalancing Application: Client to Master Server (UDP)
5056 or 27002 UDP LoadBalancing Application: Client to Game Server 1 (UDP)
5057 UDP LoadBalancing Application: Client to Game Server 2 (UDP)
6060 TCP LoadBalancing Application: Client to Master Server (rHTTP)
6061 TCP LoadBalancing Application: Client to Game Server 1 (rHTTP)
6062 TCP LoadBalancing Application: Client to Game Server 2 (rHTTP)
9090 TCP LoadBalancing Application: Client to Master Server (WebSockets)
9091 TCP LoadBalancing Application: Client to Game Server 1 (WebSockets)
9092 TCP LoadBalancing Application: Client to Game Server 2 (WebSockets)
19090 TCP LoadBalancing Application: Client to Master Server (Secure WebSockets)
19091 TCP LoadBalancing Application: Client to Game Server 1 (Secure WebSockets)
19092 TCP LoadBalancing Application: Client to Game Server 2 (Secure WebSockets)

 To Document Top