Skip to content

Commit

Permalink
change server ip
Browse files Browse the repository at this point in the history
change server ip
  • Loading branch information
徐长龙 committed Jun 11, 2016
1 parent 606fed5 commit 03e874e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions test/client.conf.php
Expand Up @@ -3,20 +3,20 @@
return array (
'group1' =>
array (
'192.168.33.11_9567' =>
'10.0.2.15_9567' =>
array (
'ip' => '192.168.33.11',
'ip' => '10.0.2.15',
'port' => 9567,
'updatetime' => '1465639979',
'updatetime' => '1465640294',
),
),
'group2' =>
array (
'192.168.33.11_9567' =>
'10.0.2.15_9567' =>
array (
'ip' => '192.168.33.11',
'ip' => '10.0.2.15',
'port' => 9567,
'updatetime' => '1465639979',
'updatetime' => '1465640294',
),
),
);
2 changes: 1 addition & 1 deletion test/demoserver.php
Expand Up @@ -72,4 +72,4 @@ function initTask($server, $worker_id)
),
);
//ok start server
$res = new Server("192.168.33.11", 9567, $groupConfig, $redisconfig);
$res = new Server("0.0.0.0", 9567, $groupConfig, $redisconfig);

0 comments on commit 03e874e

Please sign in to comment.