解决方法是在客户端配置文件中添加
server: port: 10001 eureka: client: register-with-eureka: false fetch-registry: false serviceUrl: defaultZone: http://localhost:10001/eureka security: basic: enabled: false
解决方法是在客户端配置文件中添加
server: port: 10001 eureka: client: register-with-eureka: false fetch-registry: false serviceUrl: defaultZone: http://localhost:10001/eureka security: basic: enabled: false