但是 过一段时候 就会出现 连接2258的 端口 就报
Gateway and BusinessWorker are not ready.
├── Applications
│ └── YourApp
│ ├── Events.php
│ ├── start_gateway.php
$gateway = new Gateway("tcp://0.0.0.0:1111"); 对【】外开放监听1111】
│ $gateway->startPort = 2901;
│ $gateway->registerAddress = '127.0.0.1:1238';
│ ├── start_abc.php
$gateway = new Gateway("tcp://0.0.0.0:2258");【对外开放监听2258】
│ $gateway->startPort = 2500; 端口 2500
│ $gateway->registerAddress = '127.0.0.1:1238'; 注册地址1238
│ ├── start_businessworker.php
│ $worker->registerAddress = '127.0.0.1:1238'; 注册地址 1238
│ └── start_register.php
$register = new Register('text://0.0.0.0:1238'); 注册端口 1238
│
├── start.php
│
└── vendor
根据手册排查:
http://doc2.workerman.net/send-buffer-to-worker-fail.html