dever 4 years ago
parent
commit
2f79c7d2a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/dever/start_gateway.php

+ 1 - 1
app/dever/start_gateway.php

@@ -27,7 +27,7 @@ $gateway->name = 'DeverImGateway';
 // gateway进程数
 $gateway->count = 4;
 // 本机ip,分布式部署时使用内网ip
-$gateway->lanIp = '0.0.0.0';
+$gateway->lanIp = DEVER_IM_IP;
 // 内部通讯起始端口,假如$gateway->count=4,起始端口为4000
 // 则一般会使用4000 4001 4002 4003 4个端口作为内部通讯端口 
 $gateway->startPort = 2900;