From b5eeffda1d2c82f197279b7cd7eb268c5082f679 Mon Sep 17 00:00:00 2001 From: qibaoguang Date: Mon, 2 Mar 2015 23:37:32 +0800 Subject: [PATCH] Update and rename 41.4. Customizing the management server address to 41.4. Customizing the management server address.md --- .../41.4. Customizing the management server address | 0 .../41.4. Customizing the management server address.md | 9 +++++++++ 2 files changed, 9 insertions(+) delete mode 100644 V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address create mode 100644 V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address.md diff --git a/V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address b/V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address deleted file mode 100644 index e69de29..0000000 diff --git a/V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address.md b/V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address.md new file mode 100644 index 0000000..20f3269 --- /dev/null +++ b/V. Spring Boot Actuator: Production-ready features/41.4. Customizing the management server address.md @@ -0,0 +1,9 @@ +### 41.4. 自定义管理服务器的地址 + +你可以通过设置`management.address`属性来定义管理端点可以使用的地址。这在你只想监听内部或面向生产环境的网络,或只监听来自localhost的连接时非常有用。 + +下面的application.properties示例不允许远程管理连接: +```java +management.port=8081 +management.address=127.0.0.1 +```