redis连接时报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused
时间:2019-08-01 09:44:41
收藏:0
阅读:1998
连接redis时出现错误:Could not connect to Redis at 127.0.0.1:6379: Connection refused
在/usr/local/etc/目录下找到redis.conf
将daemonize no 修改为 daemonize yes
再输入 redis-server /usr/local/etc/redis.conf
redis-cli
done!
原文:https://www.cnblogs.com/zhangxiaoj/p/11279938.html
评论(0)