title: Eureka replicas unavailable
body: <p>I have problem with configuring eureka replicas :</p>
  
  <p>Eureka service :</p>
  
  <pre><code>@EnableEurekaServer
  @SpringBootApplication
  public class DiscoveryService {
  
      public static void main(String[] args) {
          SpringApplication.run(DiscoveryService.class, args);
      }
  }
  </code></pre>
  
  <p>bootstrap.properties</p>
  
  <pre><code>spring.application.name=discovery
  spring.cloud.config.uri=http://localhost:8888
  </code></pre>
  
  <p>I also have two yml files </p>
  
  <p>for server 1 runing on 8761</p>
  
  <pre><code>eureka.client.serviceUrl.defaultZone:http://localhost:8762/eureka/
  eureka.client.registerWithEureka:false
  eureka.client.fetchRegistry:false
  </code></pre>
  
  <p>for server 2 running on 8762</p>
  
  <pre><code>eureka.client.serviceUrl.defaultZone:http://localhost:8761/eureka/
  eureka.client.registerWithEureka:false
  eureka.client.fetchRegistry:false
  </code></pre>
  
  <p>I can enter both dashboards, but I see that both instance have this:</p>
  
  <pre><code>registered-replicas http://localhost:8761/eureka/
  unavailable-replicas    http://localhost:8761/eureka/,
  available-replicas
  </code></pre>
  
  <p>Why is that ?</p>