解决Nacos 9848 GRPC 端口通信超时问题 Server check fail, please check server 127.0.0.1, port 9848 is available
·
在 /etc/hosts 中添加 本机 ip + hostname,解决java运行慢的问题,nacos注册就正常了。
hostname
## 返回主机名称
my-linux-04.novalocal
## 然后编辑本机hosts
vi /etc/hosts
## 文件末端添加 本机ip + 刚刚查询到的hostname,比如本机ip是192.168.68.168
192.168.68.168 my-linux-04.novalocal
## 保存编辑并刷新网络
[root@superroot mydock03]# /etc/init.d/network restart
Restarting network (via systemctl): [ OK ]
公司运维发现的解决办法,非常感谢!
更多推荐
所有评论(0)