连接不上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:6379: Connection refused

解决方案:

1. 修改redis.conf文件

                   cd /usr/local/redis-4.0.11

                   vim redis.conf

                   修改 daemonize no 为 daemonize yes

2. 开启客户端要确保服务端启动redis-server /usr/local/redis-4.0.11/redis.conf

3.  redis-cli

连接不上redis:Could not connect to Redis at 127.0.0.1:6379: Connection refused

相关文章:

  • 2021-11-12
  • 2022-01-12
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2022-01-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案