首页 > Web开发 > 详细

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

时间:2019-10-05 17:54:08      阅读:85      评论:0      收藏:0      [点我收藏+]

客户端注册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

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

原文:https://www.cnblogs.com/xyyou/p/11625044.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!