浏览代码

修改IP地址

kid 2 年之前
父节点
当前提交
83367ecb39
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6 6
      config/application.yml

+ 6 - 6
config/application.yml

@@ -29,7 +29,7 @@ spring:
29 29
     type: redis
30 30
   # Redis
31 31
   redis:
32
-    host: 192.168.0.116
32
+    host: 127.0.0.1
33 33
     port: 6379
34 34
     password: lilishop
35 35
     lettuce:
@@ -60,7 +60,7 @@ spring:
60 60
       default-datasource:
61 61
         type: com.alibaba.druid.pool.DruidDataSource
62 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 64
         username: root
65 65
         password: lilishop
66 66
         maxActive: 50
@@ -268,7 +268,7 @@ lili:
268 268
   data:
269 269
     elasticsearch:
270 270
       cluster-name: elasticsearch
271
-      cluster-nodes: 192.168.0.116:9200
271
+      cluster-nodes: 127.0.0.1:9200
272 272
       index:
273 273
         number-of-replicas: 0
274 274
         number-of-shards: 3
@@ -279,7 +279,7 @@ lili:
279 279
     #        password: LiLiShopES
280 280
 
281 281
     logstash:
282
-      server: 192.168.0.116:4560
282
+      server: 127.0.0.1:4560
283 283
     rocketmq:
284 284
       promotion-topic: lili_promotion_topic
285 285
       promotion-group: lili_promotion_group
@@ -300,7 +300,7 @@ lili:
300 300
       after-sale-topic: lili_after_sale_topic
301 301
       after-sale-group: lili_after_sale_group
302 302
 rocketmq:
303
-  name-server: 192.168.0.116:9876
303
+  name-server: 127.0.0.1:9876
304 304
   isVIPChannel: false
305 305
   producer:
306 306
     group: lili_group
@@ -309,7 +309,7 @@ rocketmq:
309 309
 xxl:
310 310
   job:
311 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 313
     executor:
314 314
       appname: xxl-job-executor-lilishop
315 315
       address: