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

在这里插入图片描述

在这里插入图片描述

[NACOS HTTP-POST] The maximum number of tolerable server reconnection errors has been reached
[fixed-localhost_8848] [check-update] get changed dataId exception
[NACOS ConnectException httpPost] currentServerAddr: http://localhost:8848, err : Connection refused: connect

各种localhost:8848连不上,但我的配置全是好的。

导致这个问题是因为:bootstrap.yml,改文件生效比application配置文件早导致的。

添加后bootstrap.yml即可解决。 亲测可以

相关推荐

  1. sentinelnacos集成

    2024-06-07 15:42:06       41 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-06-07 15:42:06       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-06-07 15:42:06       101 阅读
  3. 在Django里面运行非项目文件

    2024-06-07 15:42:06       82 阅读
  4. Python语言-面向对象

    2024-06-07 15:42:06       91 阅读

热门阅读

  1. 酒茶元宇宙 - 探索味觉与科技的融合奇迹

    2024-06-07 15:42:06       32 阅读
  2. DALL-E 2之学习心得

    2024-06-07 15:42:06       29 阅读
  3. python如何提取html中所有中文

    2024-06-07 15:42:06       25 阅读