수정중인 페이지 입니다.
server | v5 switch to v4  

Licenses

License Options

To use Photon Server you need to get a license. If you try to start Photon Server without a license, the server will automatically shut down and logs this error:

"Service shutting down: not licensed. Errorcode: 105"

메인 화면으로

Free License

Photon can be used free of charge for up to 100 concurrent connections (players that are connected at the same time). Note that you may not use free or trial licenses for commercial purposes, if not agreed otherwise. Free and trial licenses each may be used on one (server) machine at a time.

Get your free license from your dashboard here.

메인 화면으로

Commercial Licenses

For commercial projects and higher CCU needs you can buy and upgrade your Photon licenses online.

Contact us for any upgrade questions you may have.

메인 화면으로

Using The License

Photon uses ".license" files, which are provided by Exit Games. New license files are simply copied into the folder where the Photon executables are. Other ".license" files have to be removed so that only the ".license" file to be used remains in the folder.

PhotonControl and the Photon Server will read the files on start, so a new license currently requires a restart.

Steps to add a new license or exchange a license:

  1. Download a license.
  2. Open Photon Server binaries folder: a. It should be the "deploy\bin_Win64" folder from the Photon Server SDK from which you start PhotonSocketServer or PhotonControl. b. If you have PhotonControl already open, click on "Explore Working Path" from the context menu of the tray icon.
  3. Copy the downloaded license file inside that folder. Make sure to have only one license file in the folder. Remove any outdated or otherwise undesired license files.
  4. Restart PhotonSocketServer if it is already running. If you have a running PhotonControl application restart it as well.

메인 화면으로

Floating Licenses

Photon's "Floating Licenses" are not bound to hardware or IP. They will run on any machine but need to contact our Floating License Monitor. On start, this HTTPs call must succeed. The following hourly contact has to succeed once every 24 hours. If the Monitor is not available for that long, Photon will shut down.

메인 화면으로

The License Monitor

Photon does not start without contacting the License Monitor, so we made sure that our License Monitor is highly available. To achieve this, we use different cloud services, which provide 24/7 availability.

메인 화면으로

Troubleshooting: License Monitor Not Available

If Photon can not reach the License Monitor, it fails to start with an error message like this:

"Shutdown request from PhotonHostRuntime: On startup, license monitor must be available / reachable."

The License Monitor has these URIs, at least one of them must be reachable for Photon:

메인 화면으로

1. Network / DNS Issues

To check, if you can connect to the License Monitor, you could use a tool like curl.

curl https://licensesp.exitgames.com
curl https://licensespch.exitgames.com

If both requests fail, contact your network administrator to resolve any network configuration / DNS resolution issues.

메인 화면으로

2. Firewall Settings

Make sure that PhotonSocketServer.exe is allowed to establish outbound connections on port 443 (HTTPS) to the License Monitor URIs (see above).
Check your Windows Firewall as well as any hardware/software firewalls that might be provided by your hosting provider.

메인 화면으로

3. Certificate Settings

Open https://licensesp.exitgames.com in Internet Explorer.

If you see this error message, you need to install the SSL certificate as a Trusted Root CA on your server:

"There is a problem with this website's security certificate. The security certificate presented by this website was not issued by a trusted certificate authority."

Click the SSL sign in your address bar. Click "View Certificates".

Photon Server: License Monitor Connectivity from Internet Explorer
Photon Server: License Monitor Connectivity from Internet Explorer

In the next dialog box, choose "Install Certificate":

Photon Server: Install Certificate
Photon Server: Install Certificate

In the Certificate Import Wizard, choose the option "Place all certificates in the following store". In the next dialog box, choose "Trusted Root Certification Authorities".

Photon Server: Choose the Certificate Store: Trusted Root Certification Authorities
Photon Server: Choose The Certificate Store: Trusted Root Certification Authorities

Finish the wizard.

If you can access https://licensesp.exitgames.com from Internet Explorer, restart Photon and verify that it can start with access to the License Monitor as well.

기술문서 TOP으로 돌아가기