2021-05-30
SpringCloud笔记1一、加了这个在DS Replicas就不会显示localhosteureka: instance: hostname: localhost二、eureka微服务需要将自己排除注册,否则会运行时报错register-with-eureka: false # 表示是否向eureka注册中心注册自己fetch-registry: false #表示如果为false则表示自己为注册中心 "defaultZone", "http://localhost:8761/e
原创
2021-05-30 20:33:56 ·
76 阅读 ·
0 评论