Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
After you install redis, type from terminal:
redis-server
and you'll have redis running
I solve this problem in next way:
sudo apt-get install redis-server
then run command to confirm that everything ok:
sudo service redis-server status
And the output will be: redis-server is running
- that means that the problem is solved.
Install redis on your system first -
brew install redis
then start the redis server -
redis-server