- 精华
- 阅读权限
- 100
- 好友
- 相册
- 分享
- 听众
- 收听
- 注册时间
- 2021-11-28
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
发表于 2023-10-10 16:30:49
|
显示全部楼层
报错是因为客户端端口和IP要和服务端端口和IP对上,虚拟机只是作为路由192.1698.1.1也好服务器的IP要在虚拟机的这个192.168.1.1~192.168.1.255的段内就行
用服务器带的配置器看配置文件,IP后面的十端口数据库的还有服务器的,
[DataBase]
ActorDB_LANIP = 127.0.0.1,7788;
ActorDB_Name = GQ_ACTOR0603;
ActorDB_UserId = sa;
ActorDB_Password = 123456;
RemoteAccountDB_LANIP = 127.0.0.1,7788;
RemoteAccountDB_Name = GQ_ACCOUNT0603;
RemoteAccountDB_UserId = sa;
RemoteAccountDB_Password = 123456;
RemoteBillingDB_LANIP = 127.0.0.1,7788;
RemoteBillingDB_Name = g003_MiniMall;
RemoteBillingDB_UserId = sa;
RemoteBillingDB_Password = 123456;
LogDB_LANIP = 127.0.0.1,7788;
LogDB_Name = log;
LogDB_UserId = sa;
LogDB_Password = 123456;
[192.168.1.250]
LineID = 1;
GateID = 1;
NetGate_WANAddress = 192.168.1.250:21001;
NetGate_WANAddress2 = 127.0.0.1:21001;
NetGate_WANClients = 10000;
NetGate_LANPort = 41001;
DataAgent_LANPort = 60000;
客户端看launch\LoginServer.ini IP和端口对上就行
1,电信入口,万能的神,1,2,192.168.1.250:21000,0,0,1,0
1,网通入口,万能的神,1,2,192.168.1.128:21000,0,0,1,1
|
|