Change Photon UDP port
Options
AndAR
✭
Hi, i need to change the UDP port from 5055 to something like 49991, I don't know, i made some test but nothing seems to work. Do you guys know what i'm doing wrong?
0
Comments
-
Hi @AndAR,
Thank you for choosing Photon!
You mean you are changing the ports configuration for self-hosted Photon Server or something else?
You can't change ports for Photon Cloud.
We offer alternative ports (for another reason) that you could use.
We also offer custom ports for Enterprise Cloud customers only.1 -
I've solved.
If anyone needs it, you need to change your GamingUdpPort in Photon.LoadBalancing.dll.config file in both folder in Deploy/LoadAssets/...
Then you need to change your UDP port in PhotonServer.config
Hope this can be helpful to someone in future0 -
If anyone needs it, you need to change your GamingUdpPort in Photon.LoadBalancing.dll.config file in both folder in Deploy/LoadAssets/...
So all this stuff is useless?
Thank u for your help
0 -
Hi @AndAR,
Not sure what you are referring to.
What did you try?
There are two kinds of servers: master and game.
Master server port needs to be specified in the client when connecting initially.
The game server port is returned by the master server with the game server address.
The game server port also needs to be configured of course, this can be done via PhotonControl directly or via config file.0