diff --git a/config/application.yml b/config/application.yml index 30ee56d..db826d2 100644 --- a/config/application.yml +++ b/config/application.yml @@ -7,6 +7,7 @@ token: eureka: instance: instance-id: ${spring.application.name}:${spring.application.instance_id:${random.value}} # random port 사용시 eureka server에 인스턴스가 각각 표시되지 않는다 + preferIpAddress: true # 서비스간 통신 시 hostname 보다 ip 를 우선 client: register-with-eureka: true # eureka 서버에 등록 fetch-registry: true # 외부 검색 가능