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 contains the default ports to be used with Photon Cloud per protocol and per server connection.

Back To Top

Default Ports By Protocol And Purpose

Port Number Protocol Purpose
843 TCP Flash / Unity Policy
4530 TCP Client to Master Server (TCP)
4531 TCP Client to Game Server (TCP)
4533 TCP Client to Nameserver (TCP)
5055 or 27001 UDP Client to Master Server (UDP)
5056 or 27002 UDP Client to Game Server (UDP)
5058 or 27000 UDP Client to Nameserver (UDP)
OS Self Assigned Port UDP Communication port of the Peer. See the FAQ page.
6060 TCP Client to Master Server (rHTTP)
6061 TCP Client to Game Server (rHTTP)
6063 TCP Client to Nameserver (rHTTP)

To Document Top