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呢?