diff --git a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java index 94fd9ab9143..0bbfde30195 100644 --- a/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java +++ b/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementServerProperties.java @@ -99,7 +99,8 @@ public class ManagementServerProperties implements SecurityPrerequisite { /** * Sets the port of the management server, use {@code null} if the - * {@link ServerProperties#getPort() server port} should be used. To disable use 0. + * {@link ServerProperties#getPort() server port} should be used. Set to 0 to use a + * random port or set to -1 to disable. * @param port the port */ public void setPort(Integer port) {