SpringBoot is 2.0.1.RELEASE SpringCloud is Finchley.RC1
Eureka Discovery and Eureka Server are introduced into the client and server respectively
my server application.yml is configured as follows
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
register-with-eureka: false
instance:
preferIpAddress: true
hostname: localhost
server:
enable-self-preservation: false
spring:
application:
name: server
server:
port: 8761
my client application.yml configuration is as follows
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
spring:
application:
name: client
but the startup client cannot start and ends as soon as it starts. The following is the client startup information, does not report an error, and cannot find the reason