Jelajahi Sumber

修复一个公网无法连接的问题

tanghai 3 tahun lalu
induk
melakukan
b514243556
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Codes/Hotfix/Server/Demo/Realm/C2R_LoginHandler.cs

+ 1 - 1
Codes/Hotfix/Server/Demo/Realm/C2R_LoginHandler.cs

@@ -17,7 +17,7 @@ namespace ET.Server
 			G2R_GetLoginKey g2RGetLoginKey = (G2R_GetLoginKey) await ActorMessageSenderComponent.Instance.Call(
 				config.InstanceId, new R2G_GetLoginKey() {Account = request.Account});
 
-			response.Address = config.OuterIPPort.ToString();
+			response.Address = config.InnerIPOutPort.ToString();
 			response.Key = g2RGetLoginKey.Key;
 			response.GateId = g2RGetLoginKey.GateId;
 			reply();