Redis connection to 127.0.0.1:6379 failed code example
Example 1: Could not connect to Redis at 127.0.0.1:6379: Connection refused
redis-server
Example 2: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
sudo service redis-server status
Example 3: Could not connect to Redis at 127.0.0.1:6379: Connection refused
try running redis-server
Example 4: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
sudo apt-get install redis-server