目录一、错误信息 二、软件版本三、基本信息五、其他信息描述:SpingBoot 集成Reids (本机连接虚拟机Redis服务)出现错误 哇咔咔 当你距离成功只有一步的时候
描述:SpingBoot 集成Reids (本机连接虚拟机Redis服务)出现错误 哇咔咔 当你距离成功只有一步的时候 论那个时候的心情 七上八下!!!!
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is org.springframework.data.redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.184.130:6379
idea 2020.1
Redis 2021
linux Redis 服务端 6.2.1
Xshell 5
VM Ware 15.5.1
Mysql 8.0
1. 本机客户端能成功连接Redis
2. 配置文件无空格
3. 防火墙是关闭状态 四、解决
# vim /etc/redis.conf 命令添加 requirepass root
这样设置明文密码有一个已知问题就是
redis-cli 命令ping不通 然后执行auth "密码"就可以了
idea application.yml配置信息
到此这篇关于SpringBoot集成redis错误的文章就介绍到这了,更多相关SpringBoot集成redis内容请搜索编程网以前的文章或继续浏览下面的相关文章希望大家以后多多支持编程网!
--结束END--
本文标题: SpringBoot集成redis错误问题及解决方法
本文链接: https://www.lsjlt.com/news/139981.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
2024-03-01
2024-03-01
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
2024-02-29
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0