Troubleshooting Redis Connections
If you see Error: connect ECONNREFUSED 127.0.0.1:6379, your application cannot reach Redis.
1. Ping the Server
Use the CLI to check if it's alive. It should reply with PONG.
redis-cli ping
2. Start Redis Server
If the ping failed, start it manually.
redis-server