当前位置:网站首页>[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 !
边栏推荐
- Le système mes est un choix nécessaire pour la production de l'entreprise
- Input and output of floating point data (C language)
- Componentspace2022, assertions, protocols, bindings, and configuration files
- [kuangbin] topic 15 digit DP
- 数据中台落地实施之法
- 单场带货涨粉10万,农村主播竟将男装卖爆单?
- mysql分区讲解及操作语句
- MySQL introduction - crud Foundation (establishment of the prototype of the idea of adding, deleting, changing and searching)
- 字符串操作
- uniapp 微信小程序监测网络
猜你喜欢
The single value view in Splunk uses to replace numeric values with text
Go语言中,函数是一种类型
Opencv learning note 5 - gradient calculation / edge detection
南京商品房买卖启用电子合同,君子签助力房屋交易在线网签备案
Upload an e-office V9 arbitrary file [vulnerability recurrence practice]
[untitled]
About using CDN based on Kangle and EP panel
What is the method of manual wiring in PCB design in 22protel DXP_ Chengdu electromechanical Development Undertaking
[paper reading] icml2020: can autonomous vehicles identify, recover from, and adapt to distribution shifts?
Rainbow version 5.6 was released, adding a variety of installation methods and optimizing the topology operation experience
随机推荐
Obsidan之数学公式的输入
Pvtv2--pyramid vision transformer V2 learning notes
更改当前文件夹及文件夹下文件日期shell脚本
[Yugong series] February 2022 U3D full stack class 007 - production and setting skybox resources
Opencv learning note 4 - expansion / corrosion / open operation / close operation
Rainbow version 5.6 was released, adding a variety of installation methods and optimizing the topology operation experience
Componentspace2022, assertions, protocols, bindings, and configuration files
[Yugong series] February 2022 U3D full stack class 005 unity engine view
Xcit learning notes
Upload an e-office V9 arbitrary file [vulnerability recurrence practice]
Improve the delivery efficiency of enterprise products (1) -- one click installation and upgrade of enterprise applications
Mock.js用法详解
A method for quickly viewing pod logs under frequent tests (grep awk xargs kuberctl)
idea里使用module项目的一个bug
Golan idea IntelliJ cannot input Chinese characters
mysql分区讲解及操作语句
Coquette data completes the cloud native transformation through rainbow to realize offline continuous delivery to customers
Three series of BOM elements
GFS distributed file system
【微信小程序:缓存操作】