Skip to main content

How to Start Photon Server

🚪 Prequisite Knowledge (Optional)

  1. Basic multiplayer

❓ Key Question / Problem / Issue

  1. What is Photon server?
  2. How to use Photon Server as On-Premises server application?

✅ Expected Output/Definition of Done

  1. Know what photon server is
  2. Could use Photon server as own multiplayer game backend

🎁 Resulting Solution

Photon Server

Photon Server is a On-Premises server application that you can run and host on machines of your choice. Its fully customizable & the authoritative control gives you the freedom to configure and set up your own multiplayer game backend.

Server Administration

You gain full authority of running Photon for your applications. You run your own servers or rent fitting ones and make sure they are available for your users. Photon's logs and performance counters provide all necessary information on performance and stability.

Scalability

Our load balancing power-up is available in source code. It is a solid foundation to scale across multiple servers. Running the right number of servers for your customers is in your responsibility.

Game logic

The server's logic can be fully customized in C#. Several demo applications are available in source with the free server SDKs and provide a high performance off-the-shelf framework for your application. Benefit from our protocols and abstraction of low level functionality and add any feature you might be missing.

Licensing

Licenses are available as one-off purchases or subscriptions and provided as download. Host any number of servers and applications using the enterprise licenses. Photon Server is available with a free license for up to 100 CCU.

How to Start Photon Server

The Steps

  • Create or Sign in Photon account here.
  • Download and Extract SDK
  • Download licenses and prepare Photon server licenses at folder deploy\bin_Win64
  • At folder deploy\bin_Win64, run PhotonControl.exe, There’s no application started, but you can see Photon Control start at your windows icon tray.
  • Start as application at LoadBalancing (MyCloud)
  • Now you can connect any client you want to the server locally on the same machine. If you want to connect clients from the same network or from a different network, an extra step is needed (should setup public IP from Nameserver.json)
  • At Unity (Client) PhotonServerSettings, remove AppId (that connect you to PhotonCloud), fill the server field with current used IP in Nameserver.json, and port (optional).