|
@@ -18,7 +18,7 @@ use \Workerman\Autoloader;
|
|
|
|
|
|
|
|
|
|
|
|
-$gateway = new Gateway("tcp://0.0.0.0:2349");
|
|
|
+$gateway = new Gateway("tcp://0.0.0.0:2346");
|
|
|
|
|
|
$gateway->name = 'ChatGateway';
|
|
|
|
|
@@ -27,13 +27,13 @@ $gateway->count = 4;
|
|
|
$gateway->lanIp = '127.0.0.1';
|
|
|
|
|
|
|
|
|
-$gateway->startPort = 2350;
|
|
|
+$gateway->startPort = 2347;
|
|
|
|
|
|
$gateway->pingInterval = 10;
|
|
|
|
|
|
$gateway->pingData = '{"type":"ping"}';
|
|
|
|
|
|
-$gateway->registerAddress = '127.0.0.1:2348';
|
|
|
+$gateway->registerAddress = '127.0.0.1:2345';
|
|
|
|
|
|
|
|
|
|