问题描述: 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
最后运行成功