nacos配置中心 redis报错
时间: 2023-10-26 20:04:58 浏览: 195
在你的项目中没有引入redis的连接,但是报错提示中提到了Redis health check failed,这很奇怪。结合这个信息,我猜测可能是项目中的某个组件引入了redis,并且进行了redis的健康检查。你可以通过在nacos项目配置或者在指定的启动配置文件中添加以下配置来解决这个问题:management.health.redis.enabled=false。这样就可以禁止Actuator监控Redis连接了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [6、nacos启动项目报错Redis health check failed Unable to connect to localhost 6379](https://blog.csdn.net/weixin_44793172/article/details/122762924)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [微服务项目访问Redis报错、Nacos集群服务](https://blog.csdn.net/weixin_62667071/article/details/131253134)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [项目引入Nacos配置中心报错](https://blog.csdn.net/weixin_47827692/article/details/130291949)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文