解决方法: 在客户端的application.yml文件中添加以下配置即可 ribbon: eureka: enabled: true 转载于:https://www.cnblogs.com/vicF/p/9598960.html