gatewayWorker通信正常,但用gatewayClient连不上gatewayWorker!!!

我的gatewayWorker从前端可以正常连接并进行通信,但是在后端调用gatewayClient就死活连不上!!!!!!
调用gatewayClient时候返回的消息如下:
<br />
<b>Warning</b>: stream_socket_client(): unable to connect to tcp://0.0.0.0: (Failed to parse address &quot;0.0.0.0:&quot;) in <b>/bigiron/mapp/Gateway.php</b> on line <b>1188</b><br />
<br />
<b>Warning</b>: stream_socket_sendto() expects parameter 1 to be resource, boolean given in <b>/bigiron/mapp/Gateway.php</b> on line <b>1189</b><br />

求助呜呜呜!!
 
连接gatewayClient配置,PS.这里的$_SESSION['uid']是前端拥有的SESSION变量:
360截图20190307163834580.jpg

错误信息:
360截图20190307164036139.jpg

start_gateway.php
360截图20190307164335943.jpg

start_register.php
360截图20190307164347303.jpg

 gatewayWorker运行信息:
360截图20190307165800951.jpg

 
已邀请:

智佳思远

赞同来自:

参数传错了吧,$client在函数内没定义

要回复问题请先登录注册