启动Eureka注册中心报错

启动Eureka注册中心报错


错误信息

com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
javax.ws.rs.WebApplicationException: null

原因
在application.yml文件中,

eureka:
client:
service-url:
defaultZone: http://localhost:10086
有错误,应该改为
eureka:
client:
service-url:
defaultZone: http://localhost:10086/eureka

猜你喜欢

转载自blog.csdn.net/qq_43156598/article/details/85059356