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


客戶端注冊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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM