From b13227fa444e821fb4d9ee52bcc86746925fb6e8 Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: 星期四, 11 八月 2022 14:01:38 +0800
Subject: [PATCH] 更新配置文件

---
 safePlatfrom-out-web/src/main/resources/config/application-test.yaml |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/safePlatfrom-out-web/src/main/resources/config/application-test.yaml b/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
index 5e35629..36a6ba6 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
@@ -56,8 +56,6 @@
   cloud:
     nacos:
       discovery:
-        #        server-addr: nacos://121.239.169.27:18848?username=nacos&password=guokehongyu
-        #        server-addr: 192.168.0.52:8848?namespace=e07a2454-136b-4498-99eb-09dae3336ebe&username=gkhy_team_safeplatform_dev&password=nacosadmin
         server-addr: http://192.168.0.52:8848
         namespace: aa080ed0-5a7c-480c-8b7a-5a0a8d3c986f
         username: gkhy_safeplatform_out
@@ -69,6 +67,11 @@
         namespace: aa080ed0-5a7c-480c-8b7a-5a0a8d3c986f
         username: gkhy_safeplatform_out
         password: 9485uyJHISes09t
+    inetutils:
+      ignored-interfaces:
+        - VirtualBox Host-Only Network
+      preferred-networks:
+        - 192.168
 
 
   #是否允许跨域 true:允许;false:不允许
@@ -91,6 +94,7 @@
     name: dubbo
     port: 18082
     serialization: kryo
+    host: ${spring.cloud.client.ip-address}
   consumer:
     # 服务连接超时时间
     timeout: 3000

--
Gitblit v1.9.2