问题描述:
SpringBoot集成Redis操作,Unable to connect to Redis异常
1.yml中的spring.redis的host和port配置无误
2.云主机的6379端口开放
3.redis.conf配置文件bind 0.0.0.0 允许任何ip连接
最后抱着试一试的心态,我关闭了防火墙。
systemctl stop firewalld
最后运行成功
本地连腾讯云CentOS7主机Unable to connect to Redis异常
阅读 33
2022-03-24
问题描述:
SpringBoot集成Redis操作,Unable to connect to Redis异常
1.yml中的spring.redis的host和port配置无误
2.云主机的6379端口开放
3.redis.conf配置文件bind 0.0.0.0 允许任何ip连接
最后抱着试一试的心态,我关闭了防火墙。
systemctl stop firewalld
最后运行成功
相关推荐
精彩评论(0)