在自己搭的docker nsq测试环境上有UPSTREAM_ERROR: Failed to query any nsqlookupd: Get http://192.168.121.21:4161/lookup?topic=test: dial tcp 192.168.121.21:4161: connect: no route to host 错误

在这里插入图片描述

猜测可能是防火墙拦了

查看防火墙状态: systemctl status firewalld.service
关闭防火墙:systemctl stop firewalld.service 后即可解决问题

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐