springboot连不上本地redis解决方法

Cannot execute request on any known server

在默认设置下,Eureka服务注册中心也会将自己作为客户端来尝试注册它自己,所以我们需要禁用它的客户端注册行为。在springboot配置文件中添加 

registerWithEureka: false
fetchRegistry: false

猜你喜欢

转载自blog.csdn.net/vandet100/article/details/83090360