ErrorCode: 10054 SocketErrorCode with my Amazon Photon server

Hello I have installed the photon server on an amazon windows server.
I followed the 5 minutes tutorial and every thing works fine. my game in unity connects to the server, but once I try to create a room I get the following error:
Receive issue. State: Connected. Server: '127.0.0.1' ErrorCode: 10054 SocketErrorCode: ConnectionReset Message: An existing connection was forcibly closed by the remote host.

Please help. I tried everything. I went into every single config file looking for an IP that I didn't change or something that has the localhost IP with no luck. please help I am going insane and I don't know where to look or what to do

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Holy_Diver,

    Thank you for choosing Photon!

    In order to be able to access the Game Server from the client outside of the network you need to configure the Game Server IP address to the public IP address of the server.
    See here or here.