com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server

一 服务端报错  yml中添加 

eureka:

client:
register-with-eureka: false #自己就是注册中心,不用注册自己

fetch-registry: false  #要不要去注册中心获取其他服务的地址

二  客户端报错

查看服务端有没有添加注解 @ EnableEurekaServer 导致服务不能被发现

原文地址:https://www.cnblogs.com/eatandsleep/p/10970056.html