Advantage of Spring boot Actuator running on different port

Viewed 68

In Spring Boot, it is possible to have different ports for the server and management:

server.port=80
management.server.port=8081

What are the advantages and disadvantages of running Actuator (management) on different port to the server?

1 Answers

Probably others but how we used it is to limit access to the actuator. i.e. we expose server.port to the web but require VPN for access to the actuator.

Related