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

客户端注册eureka服务端时报错 com.netflix.discovery.shared.transport.TransportException: Cannot execute re

 

解决方法是在客户端配置文件中添加

server:
  port: 10001
eureka:
  client:
    register-with-eureka: false
    fetch-registry: false
    serviceUrl:
      defaultZone: http://localhost:10001/eureka
security:
  basic:
    enabled: false

转自:https://blog.csdn.net/lala12d/article/details/89017005

上一篇:paramiko实现登录主机


下一篇:idea远程调试tomcat中部署的项目