com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
上面这个报错,除了配置地址错误外,在eureka客户端,如果默认注册空间为default-zone时会报出上面的错误,需要改为defaultZone,z字母改为大写,但是在eureka注册端用横杠就没有这个问题
eureka:
client:
service-url:
default-zone: http://localhost:10000/eureka/