Search code examples
wildflyhealth-monitoringmicroprofile

Can you configure the port on wildfly for microprofile-health endpoint?


The standard behaviour for wildfly-17 (and 18) with microprofile-health-smallrye is, that the /health endpoints are published under the management port.

Is there a way to configure it to use a different port?

That behaviour is difficult in some situations (with docker and kubernetes) to open up the management port completely, and make it accessible, for other "machines" than localhost.

Thanks in advance,

Gabriel


Solution

  • Jeff Mesnil answered my thread on the wildfly-user chat -> It is not possible to run health endpoint on application port. WildFly only expose them to the managment port.