Error 10054 with Photon Server

If I use "Photon Cloud" to run two instances of my app on my home network, they connect fine and I see both players in a scene, etc. If I switch to "Self Hosted" with the IP of my home server running the 64 bit "Load Balancing (MyCloud)" Photon Control, the app instance on the server connects OK, but on the second machine I get:

Receive issue. State: Connected. Server: '127.0.0.1' ErrorCode: 10054 SocketErrorCode: ConnectionReset Message: An existing connection was forcibly closed by the remote host.
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.

at System.Net.Sockets.Socket.Receive (System.Byte[] buffer) [0x00000] in :0
at ExitGames.Client.Photon.SocketUdp.ReceiveLoop () [0x00000] in :0
UnityEngine.Debug:LogError(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1522)
ExitGames.Client.Photon.<>c__DisplayClass145_0:b__0()
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
PhotonHandler:Update() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs:157)

Photon Control is running as admin and has added the firewall exceptions ok.

Please help!

Thanks!

Comments

  • Two minutes. Just two minutes after I posted this, I figured it out. Bah! Edited the references to "127.0.0.1" in Photon Control (/deploy/LoadBalancing/GameServer/bin/Photon.LoadBalancing.dll.config).

    I must have missed the document regarding setup of PhotonControl - could someone please send a link so I can see what else I missed?! Thanks!
  • gland that you found it

    best,
    ilya
  • Hi @NotQuiteSmith,

    I must have missed the document regarding setup of PhotonControl - could someone please send a link so I can see what else I missed?! Thanks!


    "Game Server IP Config" in "Starting Photon in 5 Minutes"
Sign In or Register to comment.