ErrorException: stream_socket_client(): unable to connect to tcp://127.0.0.0:2346 (Network is unreachable)

lixiaojing

laravel7.*版本使用gateway 3.0.22版本,启动时报错ErrorException: stream_socket_client(): unable to connect to tcp://127.0.0.0:2346 (Network is unreachable) in /home/wwwroot/default_81/vendor/workerman/workerman/Connection/AsyncTcpConnection.php:195

1587 2 0
2个回答

lixiaojing

把127.0.0.1改为自己服务器的内网地址就好了。。。

  • 暂无评论
damao

unable to connect to tcp://127.0.0.0:2346 (Network is unreachable)
认真看报错,你实际连的是 127.0.0.0,应该是127.0.0.1 才对

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