Hi everyone,
I need to install Redis on my CentOS 6.5 machine to use with my Rails application. I browsed the web to figure out how to do it and proceeded with the following commands:
wget https://redis.googlecode.com/files/redis-2.6.14.tar.gz // latest stable tar -xf redis-2.6.14.tar.gz cd redis-2.6.14 make install make test sudo make install
Until now, everything fine! But then I try running Redis finally and I get the following error:
Could not connect to Redis at 127.0.0.1:6379: Connection refused
What is going on? Can anyone help me with this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
That means Redis isn’t running. You will need to start it by running <pre>/usr/local/bin/redis-server /path/to/config</pre>. See <a href=“http://redis.io/topics/quickstart”>http://redis.io/topics/quickstart</a>.