Browse Source

修改IP地址

kid 2 years ago
parent
commit
83367ecb39
1 changed files with 6 additions and 6 deletions
  1. 6 6
      config/application.yml

+ 6 - 6
config/application.yml

@@ -29,7 +29,7 @@ spring:
29
     type: redis
29
     type: redis
30
   # Redis
30
   # Redis
31
   redis:
31
   redis:
32
-    host: 192.168.0.116
32
+    host: 127.0.0.1
33
     port: 6379
33
     port: 6379
34
     password: lilishop
34
     password: lilishop
35
     lettuce:
35
     lettuce:
@@ -60,7 +60,7 @@ spring:
60
       default-datasource:
60
       default-datasource:
61
         type: com.alibaba.druid.pool.DruidDataSource
61
         type: com.alibaba.druid.pool.DruidDataSource
62
         driverClassName: com.mysql.cj.jdbc.Driver
62
         driverClassName: com.mysql.cj.jdbc.Driver
63
-        url: jdbc:mysql://192.168.0.116:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
63
+        url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
64
         username: root
64
         username: root
65
         password: lilishop
65
         password: lilishop
66
         maxActive: 50
66
         maxActive: 50
@@ -268,7 +268,7 @@ lili:
268
   data:
268
   data:
269
     elasticsearch:
269
     elasticsearch:
270
       cluster-name: elasticsearch
270
       cluster-name: elasticsearch
271
-      cluster-nodes: 192.168.0.116:9200
271
+      cluster-nodes: 127.0.0.1:9200
272
       index:
272
       index:
273
         number-of-replicas: 0
273
         number-of-replicas: 0
274
         number-of-shards: 3
274
         number-of-shards: 3
@@ -279,7 +279,7 @@ lili:
279
     #        password: LiLiShopES
279
     #        password: LiLiShopES
280
 
280
 
281
     logstash:
281
     logstash:
282
-      server: 192.168.0.116:4560
282
+      server: 127.0.0.1:4560
283
     rocketmq:
283
     rocketmq:
284
       promotion-topic: lili_promotion_topic
284
       promotion-topic: lili_promotion_topic
285
       promotion-group: lili_promotion_group
285
       promotion-group: lili_promotion_group
@@ -300,7 +300,7 @@ lili:
300
       after-sale-topic: lili_after_sale_topic
300
       after-sale-topic: lili_after_sale_topic
301
       after-sale-group: lili_after_sale_group
301
       after-sale-group: lili_after_sale_group
302
 rocketmq:
302
 rocketmq:
303
-  name-server: 192.168.0.116:9876
303
+  name-server: 127.0.0.1:9876
304
   isVIPChannel: false
304
   isVIPChannel: false
305
   producer:
305
   producer:
306
     group: lili_group
306
     group: lili_group
@@ -309,7 +309,7 @@ rocketmq:
309
 xxl:
309
 xxl:
310
   job:
310
   job:
311
     admin:
311
     admin:
312
-      addresses: http://192.168.0.116:9001/xxl-job-admin
312
+      addresses: http://127.0.0.1:9001/xxl-job-admin
313
     executor:
313
     executor:
314
       appname: xxl-job-executor-lilishop
314
       appname: xxl-job-executor-lilishop
315
       address:
315
       address: