当前位置:网站首页>[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 !
边栏推荐
- Practice of implementing cloud native Devops based on rainbow library app
- MES系統,是企業生產的必要選擇
- About using CDN based on Kangle and EP panel
- Rsync remote synchronization
- mysql分区讲解及操作语句
- Golan idea IntelliJ cannot input Chinese characters
- Three series of BOM elements
- Count sort (diagram)
- One click deployment of highly available emqx clusters in rainbow
- [Yugong series] February 2022 U3D full stack class 005 unity engine view
猜你喜欢
Merge sort and non comparison sort
Download and install orcale database11.2.0.4
详解华为应用市场2022年逐步减少32位包体上架应用和策略
Pvtv2--pyramid vision transformer V2 learning notes
Ebpf cilium practice (1) - team based network isolation
2 - 3 arbre de recherche
Compilation and linking of programs
Implement your own dataset using bisenet
JS的操作
One click deployment of highly available emqx clusters in rainbow
随机推荐
Componentspace2022, assertions, protocols, bindings, and configuration files
Through the "last mile" of legal services for the masses, fangzheng Puhua labor and personnel law self-service consulting service platform has been frequently "praised"
Arm GIC (IV) GIC V3 register class analysis notes.
redis故障处理 “Can‘t save in background: fork: Cannot allocate memory“
Qt Charts使用(重写QChartView,实现一些自定义功能)
一种适用于应用频繁测试下快速查看Pod的日志的方法(grep awk xargs kuberctl)
opencv之图像分割
Implementation of navigation bar at the bottom of applet
[machine learning] watermelon book data set_ data sharing
Golan idea IntelliJ cannot input Chinese characters
Analysis of using jsonp cross domain vulnerability and XSS vulnerability in honeypot
Teach you how to select PCB board by hand (II)
为什么要选择云原生数据库
mysql分区讲解及操作语句
Opencv learning note 4 - expansion / corrosion / open operation / close operation
[Chongqing Guangdong education] organic electronics (Bilingual) reference materials of Nanjing University of Posts and Telecommunications
[Yugong series] February 2022 U3D full stack class 005 unity engine view
2 - 3 arbre de recherche
如何在图片的目标中添加目标的mask
Pvtv2--pyramid vision transformer V2 learning notes