UC故事 2012/04/07 build server/client

 

1. configuration parameters

* client (infowarelab.ini)

CLUSTERID=frankcluster

ControllerList=tcp://192.168.1.104:4433

 

* server (iwlab.ini)

ClusterID=frankcluster

ClientBindPort=4433;

InfoSvrCommandIP_0=tcp://192.168.1.104:4433;

[MCS]
InfoSvrCommandIP_0=tcp://192.168.1.104:4433;

 

2. config files

* server:

debug状态:E:/projects-workspace/box-4.2-UCP-4.5-0429/src/Server/InfoSvr4.2/conf/iwlab.ini

release状态:E:/projects-workspace/box-4.2-UCP-4.5-0429/bin/dlls/Release/iwlab.ini

 

* client

debug:E:/projects-workspace/box-4.2-UCP-4.5-0429/bin/dlls/debug/infowarelab.ini

release:E:/projects-workspace/box-4.2-UCP-4.5-0429/bin/dlls/release/infowarelab.ini

 

3. config server

 

$20120407 08:59:13.937 5540/1492 ERROR: CRtAcceptorTcp::StartListen, bind() failed! addr=192.168.1.100 port=1225 err=10049:在其上下文中,该请求的地址无效。
 this=0x1765b60

 

20120407 08:59:13.921 5540/6112 info: CInfoSvrGccProvider::ParseStr2Address address tcp://192.168.1.100:1227
$20120407 08:59:13.921 5540/6112 info: CInfoSvrGccProvider::ParseStr2Address address tcp://192.168.1.100:9999
$20120407 08:59:13.921 5540/6112 info: CInfoSvrGccProvider::ParseStr2Address address tcp://192.168.1.100:9999

 

Q:src/x/y/conf/iwlab.ini内,ip已经改成192.168.1.104,但不知为何会有192.168.1.100出现?

    A:发现info server实际使用的iwlab.ini在bin/dlls/Debug/conf中。

 

重设后,发现client显示“重新连接”,修改以下参数后,OK!

 

[MCS]
InfoSvrCommandIP_0=tcp://192.168.1.104:4433;

 

总结:

* iwlab.ini的位置

*  InfoSvrCommandIP_0

Q: data呢?

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值