连接不上redis:Could not connect to Redis at 127.0.0.1:6379: Connection refused
连接不上redis Could not connect to Redis at 127.0.0.1 Connection refused
解决方案:
修改redis.conf文件
cd /usr/local/redis-4.0.11
vim redis.conf
修改 daemonize no 为 daemonize yes
开启客户端要确保服务端启动redis-server /usr/local/redis-4.0.11/redis.conf
redis-cli
还没有评论,来说两句吧...