到达一下这一步就有报错
报错如下
Exception: Can not connect to tcp://127.0.0.1:1238 Connection refused in /mnt/hgfs/wwwweb/vendor/workerman/gatewayclient/Gateway.php:1300
Stack trace:
#0 /mnt/hgfs/wwwweb/vendor/workerman/gatewayclient/Gateway.php(726): GatewayClient\Gateway::getAllGatewayAddressesFromRegister()
#1 /mnt/hgfs/wwwweb/vendor/workerman/gatewayclient/Gateway.php(701): GatewayClient\Gateway::getAllGatewayAddress()
#2 /mnt/hgfs/wwwweb/vendor/workerman/gatewayclient/Gateway.php(383): GatewayClient\Gateway::getBufferFromAllGateway(Array)
#3 /mnt/hgfs/wwwweb/vendor/workerman/gatewayclient/Gateway.php(159): GatewayClient\Gateway::getClientIdByUid('1')
#4 /mnt/hgfs/wwwweb/application/push/controller/Verify.php(76): GatewayClient\Gateway::isUidOnline('1')
Register注册的是局域网ip 这里提示报错怎么还是连接本机ip
有dalao帮帮萌新吗
已解决,Register监听地址不能为局域网或者外网地址。。只能监听本地127.0.0.1或者0.0.0.0