server | v4 switch to v5  

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.

Back To Top

Photon Server

PhotonControl automatically sets up the 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 set up to allow traffic on the required ports as needed.

Define your own ports within the Photon Server configuration.

Back To Top

Default Ports By Protocol And Purpose

Port Number Protocol Purpose
843 TCP Flash / Unity Policy
4520 TCP LoadBalancing Application (Internal, S2S): Game Server to Master Server (TCP)
4530 TCP Client to Master Server (TCP)
4531 TCP Client to Game Server (TCP)
5055 UDP LoadBalancing Application: Client to Master Server (UDP)
5056 UDP LoadBalancing Application: Client to Game Server (UDP)
9090 TCP Client to Master Server (WebSockets)
9091 TCP Client to Game Server (WebSockets)

To Document Top