nacos connectexception httpget
时间: 2023-09-24 09:10:31 浏览: 59
哦,这好像是一个技术问题。Nacos是一个面向云原生应用的动态服务发现、配置管理和服务管理平台。ConnectException HttpGet 是在使用Nacos时可能遇到的异常错误。需要检查网络是否通畅以及Nacos服务是否正常运行等方面。如果您需要更具体的解答,可以提供更多相关信息,我会尽力为您解答。
相关问题
[NACOS ConnectException httpGet] currentServerAddr:http://localhost:8848, err : Connection refused (Connection refused)
根据引用内容,出现[NACOS ConnectException httpGet] currentServerAddr:http://localhost:8848, err : Connection refused (Connection refused)的错误提示是因为在配置文件中没有正确配置Nacos的地址。根据引用,你可以在bootstrap.yml文件中将config的enabled属性设置为false来关闭配置功能。然后,根据引用,你需要配置Nacos的地址,将spring.cloud.nacos.discovery.server-addr属性设置为正确的Nacos服务器地址。最后,根据引用,将spring.cloud.nacos.config.server-addr属性设置为正确的Nacos服务器地址,并将spring.cloud.nacos.config.enabled属性设置为true。这样配置后,应该能够解决连接被拒绝的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [SpringCloud-11-解决[NACOS HTTP-GET] The maximum number of tolerable server reconnection errors has ...](https://blog.csdn.net/IOT_LI/article/details/127365779)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [currentServerAddr:http://localhost:8848, err : Connection refused (Connection refused)](https://blog.csdn.net/zhangyupeng0528/article/details/123113688)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
[NACOS ConnectException httpGet] currentServerAddr:http://localhost:8848, err : Connection refused: no further information。
[NACOS ConnectException httpGet] currentServerAddr:http://localhost:8848, err : Connection refused: no further information是一个由Nacos引起的连接异常。出现这个问题的原因可能是缺少配置或者配置错误。解决这个问题的方法是添加正确的配置信息,包括连接地址和命名空间。另外,还可以检查是否正确加载了相关的配置文件。
相关推荐
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)