问题:输入redis-server redis.conf后再输入redis-cli 出现Could not connect to Redis at 127.0.0.1:6379: Connection refused。原因:原因是redis没有后台启动,被停止了,解决办法:应修改redis.conf中的yes,默认后台启动! 文章来源: Could not connect to Redis at 127.0.0.1:6379: Connection refused 标签 Redis connect