my-csc-config-file.git 5 anos atrás
pai
commit
f6c1144d4f
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.46 #地址
7
+    #hostname: localhost #地址
8
+    hostname: 172.16.0.46 #地址
9 9
     prefer-ip-address: true
10 10
   client:
11 11
     fetch-registry: false