Redis连接报错-Could not connect to Redis at 127.0.0.1:6379: Connection refused

进入Redis所在路径,命令行输入redis-cli报错:Could not connect to Redis at 127.0.0.1:6379: Connection refused

解决方法:

redis-server redis.conf

连接成功:

你可能感兴趣的:(Redis,redis,数据库,缓存)