当前位置:网站首页>[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 !
边栏推荐
- GFS distributed file system
- oracle一次性说清楚,多种分隔符的一个字段拆分多行,再多行多列多种分隔符拆多行,最终处理超亿亿。。亿级别数据量
- 联想混合云Lenovo xCloud:4大产品线+IT服务门户
- [kuangbin]专题十五 数位DP
- 快速集成认证服务-HarmonyOS平台
- Tuowei information uses the cloud native landing practice of rainbow
- Opencv learning note 5 - gradient calculation / edge detection
- [Yugong series] February 2022 U3D full stack class 008 - build a galaxy scene
- [paper reading] icml2020: can autonomous vehicles identify, recover from, and adapt to distribution shifts?
- [Chongqing Guangdong education] accounting reference materials of Nanjing University of Information Engineering
猜你喜欢
下载和安装orcale database11.2.0.4
One click deployment of highly available emqx clusters in rainbow
All about PDF crack, a complete solution to meet all your PDF needs
Practice of implementing cloud native Devops based on rainbow library app
let const
2-3查找树
联想混合云Lenovo xCloud:4大产品线+IT服务门户
Three series of BOM elements
为什么要选择云原生数据库
Golang compilation constraint / conditional compilation (/ / +build < tags>)
随机推荐
Input of mathematical formula of obsidan
let const
如何在HarmonyOS应用中集成App Linking服务
Leetcode 1984. Minimum difference in student scores
Snyk dependency security vulnerability scanning tool
Novice entry SCM must understand those things
About using CDN based on Kangle and EP panel
Three series of BOM elements
leetcode135. Distribute candy
测试踩坑 - 当已有接口(或数据库表中)新增字段时,都需要注意哪些测试点?
National standard gb28181 protocol video platform easygbs adds streaming timeout configuration
Upload an e-office V9 arbitrary file [vulnerability recurrence practice]
Interface as a parameter (interface callback)
POJ - 3784 Running Median(对顶堆)
[Chongqing Guangdong education] audio visual language reference materials of Xinyang Normal University
归并排序和非比较排序
Go语言中,函数是一种类型
Implementation method of data platform landing
快速集成认证服务-HarmonyOS平台
Are you holding back on the publicity of the salary system for it posts such as testing, development, operation and maintenance?