These are chat archives for spring-cloud/spring-cloud

15th
Sep 2017
Miguel Ferreira
@miguelaferreira
Sep 15 2017 13:45
Hi all, I’m running services on AWS ECS and I have consul running in the cluster. However, when services boot and register to consul the port it register with is the internal port (e.g. 8080) while the service is accesible via a dynamic port (e.g. 32772). Is there any configuration parameter of spring-cloud-consul I can manipulate to have the service register using the dynamic port?
Miguel Ferreira
@miguelaferreira
Sep 15 2017 14:19
I do have registrator running and that sets the port correctly, but when the service boots it will register itself over that and overwrites the port. If I could configure my service to register the health check without setting the address and the port, that would also work.
Miguel Ferreira
@miguelaferreira
Sep 15 2017 14:43
Setting the consul discovery property preferAgentAddress: true fixed the health check for me.
Prashant Srivastav
@iamprashant
Sep 15 2017 18:18
hello
Prashant Srivastav
@iamprashant
Sep 15 2017 18:26
Is there any way to register services with multiple eureka ??