How to setup Photon Server for Websocket (in specific details)

codeemadness
edited September 2022 in JavaScript and TypeScript

Hi, I'm quite new for setting up servers. This is my situation:

My Photon server is hosted on machine A.

And My game is hosted on machine B.

I am using LoadBalancingClient, and its constructor use (protocal,appId,appVersion). Should i use appId anymore? If not, how to call constructor of LoadBalancingClient.

In file PhotonServer.config, which IP and port should be placed within WebSocket section? Server IP or Client IP?

It would be best if you can provide a sample config with some specific port (could be a false ip to easy understand) and place some notes on it.


Many thanks,

Comments

This discussion has been closed.