SongZhang SongZhang - 1 month ago 12x
HTTP Question

Monitor spring boot with actuator over http

When I use the default server address, I can get data from


However when I set
in my, I can't get response from


Try adding the following to your properties:



78.1 Change the HTTP port or address of the actuator endpoints

In a standalone application the Actuator HTTP port defaults to the same as the main HTTP port. To make the application listen on a different port set the external property management.port. To listen on a completely different network address (e.g. if you have an internal network for management and an external one for user applications) you can also set management.address to a valid IP address that the server is able to bind to.