一直报错Can not connect to tcp://127.0.0.1:1236 Connection refused

npqzxc

这个配置在服务器上跑sendToclient是没有问题的,但是sendToUid一直报这个错是怎么回事呀------。Can not connect to tcp://127.0.0.1:1236 Connection refused
截图
截图
截图

4079 1 0
1个回答

blogdaren

发送前显式指定下 register 地址:

Gateway::$registerAddress = '127.0.0.1:1238';
  • npqzxc 2020-04-08

    确实是这样的,指定一下就好了

年代过于久远,无法发表回答
🔝