com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known serve
SpringCloud 的eureka服务端,它默认会为自己注册到服务端,所以才会报这个错:
修改配置文件 application.yml添加如下内容
eureka:
client:
registerWithEureka: false
fetchRegistry: false
...
原创
2019-08-14 16:09:52 ·
159 阅读 ·
0 评论