Answers for "Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)"

0

Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)

On Mac OXS:

Step 1
- brew install redis   # Install redis (if not installed)
Step 2
- redis-server         # Start the redis server

or 

Step 2
redis-server --daemonize yes  # to start redis in the background
                              # By default Redis does not run as a daemon. 
                              # Use 'yes' to use it
Posted by: Guest on June-08-2021

Code answers related to "Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED) (Redis::CannotConnectError)"

Browse Popular Code Answers by Language