Ver código fonte

修改注册地址

shengyang000 5 anos atrás
pai
commit
82d2825173
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/main/resources/application.yml

+ 2 - 2
src/main/resources/application.yml

@@ -4,8 +4,8 @@ server:
4 4
 
5 5
 eureka:
6 6
   instance:
7
-#    hostname: localhost #地址
8
-    hostname: 172.16.0.6 #地址
7
+    hostname: 172.16.0.2 #地址
8
+#    hostname: 172.16.0.6 #地址
9 9
     prefer-ip-address: true
10 10
   client:
11 11
     fetch-registry: false