赞
踩
1.首先看看有没有启动Redis服务器(redis-server.exe) redis-server
2.有可能是以下两种情况
1.application.yml的redis配置中的spring.redis.timeout中连接超时时间(毫秒)中时间设置不能为0
2.找到redis的配置文件 redis.conf :vim redis.conf 修改 protected-mode yes 改为:protected-mode no
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。