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
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.