How to create PhotonPeer to PhotonServer with Photon.ConnectionProtocol.Wss (JS client)
Options
April
✭
I could connect server using WS, but the system reported an error using WSS
0
Answers
-
self hosted.
[ERROR]: PhotonPeer[_onConnectFailed] - Socket connection could not be created: wss://127.0.0.1:9090 Wrong host or port?
0 -
yes, it looks like wrong port
we usually use 19090, 19091 for secure connections
best
ilya0