diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml index cfc750333cad3245dba1202673c36e7939f1f8ab..2fd1bb89bca3986451b9a23b67f0fb5376fde0e6 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8767.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8767 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。 diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml index b588e100707347af4d8cdeeda2a731b8c8076354..0b940684c13d536510e660596d97de9a59de6146 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8768.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8768 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。 diff --git a/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml b/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml index a5fa0561434911af20fdbb5a137514e5bd631e6c..0f7f28fbbf03ca8be0cbb3cbbcbe185a2ecd0407 100644 --- a/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml +++ b/springcloud-service-eureka/src/main/resources/application-eureka8769.yaml @@ -8,7 +8,7 @@ spring: eureka: instance: - hostname: localhost + hostname: eureka8769 client: register-with-eureka: false #由于该应用为注册中心,所以设置 为 false, 代表不向注册中心注册自己。 fetch-registry: false #由于注册中心的职责就是维护服务实例, 它并不需要去检索服务, 所以也设置为 false。