How to set up a self hosted server for Photon Unity Demos?
Comments
-
Make sure to meet the requirements of the server:
http://doc.exitgames.com/v3/overview/requirements
This should help:
http://doc.exitgames.com/v3/quickstart/ ... iveminutes
Instead of starting "Instance1", start "Instance LoadBalancing" and the server is compatible with the PUN clients.0 -
Thanks, I connected to server successful, but try to create room, I got below errors:
System.Net.Sockets.SocketException: Connection refused at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0 at ExitGames.Client.Photon.NConnect.SendUdpPackage (System.Byte[] data, Int32 length) [0x00000] in <filename unknown>:0 at ExitGames.Client.Photon.EnetPeer.sendData (System.Byte[] data) [0x00000] in <filename unknown>:0
0 -
Your firewall seems to block you. Maybe it's the windows firewall or a hardware or another software firewall on the way to your server.
This might help: http://doc.exitgames.com/v3/photonserve ... llsettings0