server | v4 switch to v5  

TCP and UDP Port Numbers

Photon Cloud

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.

The table below contains the default ports configured per listener in PhotonServer.config as included in the SDK package.

Back To Top

Default Ports By Protocol And Purpose

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


To Document Top