Help, i can`t connect to my photon server

edited December 2019 in Photon Server
I try connect to photon server with PUN V2, but I have some issue
Receive issue. State: Connected. Server: '127.0.0.1' ErrorCode: 10054 SocketErrorCode: ConnectionReset Message: Удаленный хост принудительно разорвал существующее подключение.
 System.Net.Sockets.SocketException (0x80004005): Удаленный хост принудительно разорвал существующее подключение.

  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <3845a180c26b4889bc2d47593a665814>:0 
  at System.Net.Sockets.Socket.Receive (System.Byte[] buffer) [0x00000] in <3845a180c26b4889bc2d47593a665814>:0 
  at ExitGames.Client.Photon.SocketUdp.ReceiveLoop () [0x00014] in C:\Dev\photon-sdk-dotnet\PhotonDotnet\SocketUdp.cs:244 
UnityEngine.Debug:LogError(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2122)
ExitGames.Client.Photon.<>c__DisplayClass104_0:b__0() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:923)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:431)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1598)
Photon.Pun.PhotonHandler:Dispatch() (at Assets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:205)
Photon.Pun.PhotonHandler:FixedUpdate() (at Assets/Photon/PhotonUnityNetworking/Code/PhotonHandler.cs:139)
In PhotonServer.config i write in UDP Listener IP `127.0.0,1`, port 5055

In Unity PhotonSetting i set server IP 127.0.0.1 and post 5055

Please help

Comments

Sign In or Register to comment.