From f7a652b9d04abbbeabb9121d1dd712c4a8a0531a Mon Sep 17 00:00:00 2001 From: zch Date: Mon, 21 Oct 2024 12:12:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=20Redis=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E5=B9=B6=E6=9B=B4=E6=96=B0=E4=B8=BB=E6=9C=BA=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 Redis 主机地址从 localhost 修改为 127.0.0.1- 设置 Redis 密码为123456,取消注释 --- os-admin/src/main/resources/application.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/os-admin/src/main/resources/application.yml b/os-admin/src/main/resources/application.yml index 7c1ff55..ea166d8 100644 --- a/os-admin/src/main/resources/application.yml +++ b/os-admin/src/main/resources/application.yml @@ -80,13 +80,13 @@ spring: # redis 配置 redis: # 地址 - host: localhost + host: 127.0.0.1 # 端口,默认为6379 port: 6379 # 数据库索引 database: 7 # 密码 -# password: 123456 + password: 123456 # 连接超时时间 timeout: 30s lettuce: