#How do I connect my Spring Boot service to Eureka (Discovery Service)?

1 messages · Page 1 of 1 (latest)

terse rover
#

I'm trying to register my post-core-api Spring Boot app with my post-discovery-service (Eureka server), but no matter what I try, it doesn't show up in the Eureka dashboard.

I've already added the spring-cloud-starter-netflix-eureka-client dependency and configured the application.properties like this:

spring.application.name=post-core-api
eureka.client.service-url.defaultZone=http://localhost:8090/eureka
eureka.instance.prefer-ip-address=true
I also annotated my main class with @EnableEurekaClient.

The Eureka server is running and available at http://localhost:8090, but my post-core-api service doesn't show up as a registered client.

What am I missing or doing wrong? Any ideas?

violet onyxBOT
#

<@&1004656351647117403> please have a look, thanks.