can I access to microservice with someting like this: Eureka Server: http://localhost:8761/ Microservice url: http://localhost:8080/ Call to Microservice to be something like: http://localhost:8761/name-service/ Is it posible? When i open the eureka server the service is registered.
eureka/application.properties:
server.port=8761
eureka.client.register-with-eureka=false
eureka.client.fetch-registry=false
logging.level.com.netflix.eureka=OFF
logging.level.com.netflix.discovery=OFF
name-service/application.properties
spring.application.name=name-service
server.port=8080
How can i achieve this?