勿忘初心做自己 发表于 2024-6-29 05:33:00

Nacos与Springboot集成后报错http://localhost:8848

https://img-blog.csdnimg.cn/direct/06a87921dc2e46e0b7e1190b314e2de1.png
https://img-blog.csdnimg.cn/direct/f425c98d704240acba0666a395a72ae4.png
The maximum number of tolerable server reconnection errors has been reached
get changed dataId exception
currentServerAddr: http://localhost:8848, err : Connection refused: connect
各种localhost:8848连不上,但我的配置全是好的。
导致这个问题是因为:bootstrap.yml,改文件见效比application配置文件早导致的。
添加后bootstrap.yml即可解决。 亲测可以

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: Nacos与Springboot集成后报错http://localhost:8848