Spring Boot — Eureka Server | Code Factory

Reference Link : Link

Donate : Link

Eureka Server is an application that holds the information about all client-service applications. Every Micro service will register into the Eureka server and Eureka server knows all the client applications running on each port and IP address.
Eureka Server is also known as Discovery Server.

Add @EnableEurekaServer annotation in main Spring Boot Application class file, The @EnableEurekaServer annotation is used to make your Spring Boot application acts as a Eureka Server.

SpringBootEurekaServerApplication.java

pom.xml

application.properties

Now, hit the URL http://localhost:8765 in your browser and you can find the Eureka Server running on the port 8765.