1. Create a client-server
next->
Option two:
Selected client
Selected web
YML:
server: port: 8891 spring: application: name: eureka-client eureka: client: ServiceUrl: defaultZone: http://user:123456@localhost:8890/eureka/ instance: prefer-ip-address: true management: endpoints: web: exposure: include: '*'
Annotated: @EnableDiscoveryClient
have a test:
-.