Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Advantage of Spring boot Actuator running on different port

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?

like image 923
Hamid Avatar asked Sep 07 '25 08:09

Hamid


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.

like image 189
grekier Avatar answered Sep 10 '25 05:09

grekier