From 80ca6abff38cf5520fcd0825d9d46582d3063f2d Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期一, 22 八月 2022 15:39:37 +0800
Subject: [PATCH] 事故案例

---
 safePlatfrom-out-web/src/main/resources/config/application-test.yaml |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 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..fd584a8 100644
--- a/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
+++ b/safePlatfrom-out-web/src/main/resources/config/application-test.yaml
@@ -2,7 +2,7 @@
   tomcat:
     uri-encoding: UTF-8
     basedir: /
-  port: 8009
+  port: 7009
   servlet:
     context-path: /
 
@@ -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:不允许
@@ -89,8 +92,9 @@
     base-packages: com.gkhy.safePlatform
   protocol:
     name: dubbo
-    port: 18082
+    port: 33003
     serialization: kryo
+    host: ${spring.cloud.client.ip-address}
   consumer:
     # 服务连接超时时间
     timeout: 3000

--
Gitblit v1.9.2