Can't to connect to photon server in WebGL websocket and websocketsecure
I'm pretty new to networking. Right now I'm using latest PUN 2 package, using the Asteroid Demo to connect to a server I hosted on same machine, my personal computer. I use both v4 and v5, leave default config and get the Demo run on UDP normally.
But when I change to WebGL and change connect protocol to Websocket or WSS, the client can't connect. It still can connect to Photon Cloud via AppID normally.
The error is: Exiting receive thread. Server: ws://127.0.0.1:9093:0 Error: Abnormal disconnection.
Edit: I notice the weird ":0" in the URL, then I log out the real url that connect:
WebSocket connection to 'ws://127.0.0.1:9093/?libversion=220.127.116.11&sid=30&app=NameServer' failed:
My client photon settings are bellow
Are there any other thing I need to config so it can run?