当前位置:网站首页>[step on the pit] Nacos registration has been connected to localhost:8848, no available server
[step on the pit] Nacos registration has been connected to localhost:8848, no available server
2022-07-07 08:41:00 【Dream and sea depth @ none】
Today, I found a problem when sorting out Alibaba's wechat , Error reported at startup no available server, Then I found that I had been connected localhost:8848, But in my configuration, there are other configured addresses , Not started locally nacos, The specific error information is shown in the figure 
Baidu has found many ways , what nacos The dependent version of ,nacos Of discovery and config If dependence exists , Configuration must also be configured , Or join nacos-client rely on , Or join bootstrap And so on , There is no misuse , Then I suddenly found a problem , My profile name is application.yaml, And in the configuration file ,bootstrap The priority of the configuration file is higher than application Of , Could it be springboot Priority to load bootstrap The configuration file , And then we use springboot embedded bootstarp The configuration file , It's equipped with localhost:8848 This address , This causes the service to connect all the time localhost,no available server, And then I put The name of the configuration file is changed to bootstrap.yaml, Problem solving !
边栏推荐
- opencv之图像分割
- About using CDN based on Kangle and EP panel
- Download and install orcale database11.2.0.4
- Opencv learning notes II - basic image operations
- How to understand distributed architecture and micro service architecture
- Implementation method of data platform landing
- Gson转换实体类为json时报declares multiple JSON fields named
- 南京商品房买卖启用电子合同,君子签助力房屋交易在线网签备案
- uniapp 微信小程序监测网络
- Ebpf cilium practice (2) - underlying network observability
猜你喜欢

Appeler l'interface du moteur de création du service multimédia de jeu Huawei renvoie le Code d'erreur 1002, le message d'erreur: les paramètres sont l'erreur
![[南京大学]-[软件分析]课程学习笔记(一)-introduction](/img/57/bf652b36389d2bf95388d2eb4772a1.png)
[南京大学]-[软件分析]课程学习笔记(一)-introduction

調用華為遊戲多媒體服務的創建引擎接口返回錯誤碼1002,錯誤信息:the params is error

All about PDF crack, a complete solution to meet all your PDF needs

2 - 3 arbre de recherche
![[Yu Yue education] higher vocational English reference materials of Nanjing Polytechnic University](/img/e2/519a5267cd5425a83434d2da65ebe6.jpg)
[Yu Yue education] higher vocational English reference materials of Nanjing Polytechnic University

IP地址的类别

Ebpf cilium practice (1) - team based network isolation

Xcit learning notes
![[Yu Yue education] basic reference materials of electrical and electronic technology of Nanjing Institute of information technology](/img/2a/01db1b84c26502c851786aaca56abe.jpg)
[Yu Yue education] basic reference materials of electrical and electronic technology of Nanjing Institute of information technology
随机推荐
POJ - 3784 running medium
Rsync remote synchronization
数据中台落地实施之法
Merge sort and non comparison sort
Practice of implementing cloud native Devops based on rainbow library app
String operation
测试踩坑 - 当已有接口(或数据库表中)新增字段时,都需要注意哪些测试点?
Other 7 features of TCP [sliding window mechanism ▲]
【微信小程序:缓存操作】
Implementation of navigation bar at the bottom of applet
IP guard helps energy enterprises improve terminal anti disclosure measures to protect the security of confidential information
Calling the creation engine interface of Huawei game multimedia service returns error code 1002, error message: the params is error
Basic data types and string types are converted to each other
[Yu Yue education] C language programming reference of Zhongbei College of Nanjing Normal University
[untitled]
Golang 编译约束/条件编译 ( // +build <tags> )
Exercise arrangement 2.10, 11
Golan idea IntelliJ cannot input Chinese characters
Upload an e-office V9 arbitrary file [vulnerability recurrence practice]
如何在图片的目标中添加目标的mask