联合会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
老白_White
博客园
首页
新随笔
联系
订阅
管理
随笔 - 11
文章 - 0
评论 - 0
阅读 -
6470
02 2024 档案
springboot整合redis报错:链接失败;org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis
摘要:错误原因:开启了保护模式解决方案:关闭保护模式和防火墙 具体步骤:1、打开你的redis配置文件,做出如下修改 2. 开启进程守护 yes代表开启守护进程模式。在该模式下,redis会在后台运行,并将进程pid号写入至redis.conf选项pidfile设置的文件中,此时redis将一直运行,除非
阅读全文
posted @
2024-02-11 22:05
老白_White
阅读(1048)
评论(0)
推荐(0)
编辑
公告
昵称:
老白_White
园龄:
2年10个月
粉丝:
0
关注:
0
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
常用链接
我的随笔
我的评论
我的参与
最新评论
我的标签
随笔分类
Linux(1)
随笔档案
2024年4月(6)
2024年3月(1)
2024年2月(1)
2024年1月(2)
2022年4月(1)
阅读排行榜
1. mybatis-plus的配置文件中mapper-locations失效的导致Property 'mapperLocations' was not specified的问题解决(2146)
2. Docker mysql 配置文件读取失败 [Warning] World-writable config file '/etc/mysql/conf.d/my.cnf' is ignored.(1345)
3. springboot整合redis报错:链接失败;org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis(1048)
4. Docker Redis 启动失败 Fatal error, cant open config file '/etc/redis/redis.conf'(561)
5. @FeignClient @Resource 无法注入Bean Springboot无法启动(362)
点击右上角即可分享