From 0f3a6827e251b23e8b03ea3dd26d757375baa168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=91=E5=B9=B4=E6=A2=A6=E4=B8=8E=E7=A0=96?= <2847127106@qq.com> Date: Sat, 27 Jul 2024 10:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/bootstrap.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index 99f1f74..dcb1fd8 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -1,5 +1,6 @@ # Tomcat server: + address: 0.0.0.0 port: 8080 # nacos线上地址 @@ -18,6 +19,9 @@ spring: # 环境配置 active: dev cloud: + inetutils: + preferred-networks: + - 0.0.0.0 nacos: discovery: # 服务注册地址