Photon server doesn't work for chat

connects and works with real time and voice but, when I try to connect to the chat server I get this error
DebugReturn: SocketException in EndReceive. State: Connected. Server: '127.0.0.1' ErrorCode: 10054 SocketErrorCode: ConnectionReset Message: An existing connection was forcibly closed by the remote hos



            ChatAppSettings chatAppSettings = new ChatAppSettings
            {
                Server = PhotonNetwork.PhotonServerSettings.AppSettings.Server,
                Protocol = PhotonNetwork.PhotonServerSettings.AppSettings.Protocol,
                AppId = PhotonNetwork.PhotonServerSettings.AppSettings.AppIdChat,
                AppVersion = PhotonNetwork.PhotonServerSettings.AppSettings.AppVersion,
                FixedRegion = PhotonNetwork.PhotonServerSettings.AppSettings.FixedRegion,
                NetworkLogging = PhotonNetwork.PhotonServerSettings.AppSettings.NetworkLogging,
            };
           
            ChatClient.AuthValues = new AuthenticationValues(chatUserName);
            ChatClient.ConnectUsingSettings(chatAppSettings);

photon settings
image.png

Comments