47.5 Customizing the management server address
You can customize the address that the management endpoints are available on by setting the management.address
property. This can be useful if you want to listen only on an internal or ops-facing network, or to only listen for connections from localhost
.
Note | |
---|---|
You can only listen on a different address if the port is different to the main server port. |
Here is an example application.properties
that will not allow remote management connections:
management.port=8081 management.address=127.0.0.1