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