Stop redis server. Neither shutdown nor stop works

后端 未结 16 773
深忆病人
深忆病人 2021-01-31 08:43

I want to stop the redis server and it just keeps going and going. I am using redis-2.6.7

Check that it is running:

redis-server

It say

16条回答
  •  借酒劲吻你
    2021-01-31 09:03

    I had a Could not connect to Redis at 127.0.0.1:6379: Connection refused error and nothing worked for me from the suggested solutions.

    My solution: run sudo redis-server /etc/redis.conf command in the terminal.

    After running the command I was able to use Redis again without that error.

    Note: I do not know if it is OS-dependent, but I use Manjaro Linux. I am not sure if it will work the same on a different OS.

提交回复
热议问题