From 38c12b9ba5f7539422be1f7efd5b15123355306b Mon Sep 17 00:00:00 2001 From: litianxiang Date: Tue, 28 Apr 2026 15:44:11 +0800 Subject: [PATCH] =?UTF-8?q?bootstrap=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/bootstrap.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index bceb4b2..f1b623d 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -18,6 +18,9 @@ spring: cloud: nacos: discovery: + # 强制使用指定IP,不进行自动探测 + register-enabled: true + watch: false server-addr: ${nacos.host} namespace: ${nacos.namespace} username: ${nacos.username}