Cant connect to self hosted photon server

Hello,
I installed photon server on custom windows server, and I have client Pun client SDK in unity game,
Server version: SDK 4.0.28.2962
Pun client version: 2.40 Photon lib 4.1.6.11
But I can't connect to server and get this error:
Failed to connect to server after testing each known IP.
Steps I done:
Starting Photon in 5 Minutes | Photon Engine
The game connects successfully to photon servers but when I set the IP address of my server in server settings in Unity, game can't connect.
is there any version compatibility problem or any missing step that I need to do to connect?
Answers
-
hi @chvetsov , Thank you for your respond.
where is the GameServer.dll.config file? (I searched in unity project and server sdk and did not find file with this name)
I wrote the server IP in server field in PhotonServerSettings.asset file in unity package.
and in server I run the load balancing and activate the set public ip address to .....
0