Serving a Spring Boot Actuator endpoint on multiple ports
问题 Our main application is being served on port 8443, and we're using management.port to serve our actuator endpoints on port 8444. Is there a way to get a single endpoint (the health endpoint) to serve on both 8443 and 8444 while leaving the remaining endpoints on port 8444 only? 回答1: Providing you're using the built in Tomcat container you could: Remove the management port config property Add an additional connector to serve port 8444 Add a filter to allow only the health check be accessed on