diff --git a/src/main/java/net/unir/missi/desarrollowebfullstack/bookabook/operador/clients/BuscadorClient.java b/src/main/java/net/unir/missi/desarrollowebfullstack/bookabook/operador/clients/BuscadorClient.java index a0d1153..9fada4c 100644 --- a/src/main/java/net/unir/missi/desarrollowebfullstack/bookabook/operador/clients/BuscadorClient.java +++ b/src/main/java/net/unir/missi/desarrollowebfullstack/bookabook/operador/clients/BuscadorClient.java @@ -10,7 +10,7 @@ import java.util.List; import java.util.Map; -@FeignClient(name = "BUSCADOR", configuration = FeignConfig.class, url = "http://lcoalhost:8081") +@FeignClient(name = "BUSCADOR", configuration = FeignConfig.class, url = "http://localhost:8081") public interface BuscadorClient { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f7d51c3..8e98a76 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -64,10 +64,8 @@ spring.application.name=operador eureka.client.serviceUrl.defaultZone=${EUREKA_URI:http://localhost:8761/eureka} eureka.client.fetch-registry=true eureka.instance.prefer-ip-address=true +eureka.client.register-with-eureka=true -# Use IP address -#eureka.instance.preferIpAddress=true -#eureka.client.register-with-eureka=false ############### ### LOGGING ###