How do I connect Photon Server with Construct 2?

edited October 22 in JavaScript

Where exactly can I get the data to fill the gaps?
It didn't work out with my server ip so I'm here to find out what's wrong :smile:


  • What exactly does not work? What is in client and server logs?
    Is websocket listener enabled on port 9090 of your server?
  • @vadim hello. Actually, the problem might be bigger than Construct connection
    Or maybe I just don't get how to start it properly

    If I pick LoadBalancing (MyCloud) -> Start Service; and then run Testclient I get
    • OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists).

    I have read somewhere that <add key="StartupInterval" value="1500"/> must help, but it did not.

    Would you have any suggestions about it?

  • UPD: here is some extra log

    Connecting to
    48209832: Receive issue. State: Connected Exception: System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.Socket.Receive(Byte[] buffer)
    at ExitGames.Client.Photon.SocketUdp.ReceiveLoop()

    Waiting: OnPeerStatusCallback: unexpected return code ExceptionOnReceive
    OnOperationReturn: JoinGame failed: ReturnCode: 32758 (Game does not exists)
  • Hi,

    What is UDP server endpoint? But you use WS 9090 on the client, right?
Sign In or Register to comment.