Bom dia Pessoal, não estou conseguindo fazer o gateway ser registrado no Eureka Server
server.port=8082
eureka.client.serviceUrl.defaultZone=http://localhost:8081/eureka/
spring.application.name=gateway
spring.cloud.gateway.discovery.locator.enabled=true
spring.cloud.gateway.discovery.locator.lowerCaseServiceId=true
package br.com.alurafood.gateway;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
@SpringBootApplication
@EnableEurekaClient
public class GatewayApplication {
public static void main(String[] args) {
SpringApplication.run(GatewayApplication.class, args);
}
}
Caso alguém possa de me dar um help agradeço muito,
Atenciosamente,