Could not connect to Redis at 127.0.0.1:6379: Connection refused with homebrew

bufei picture bufei · Mar 17, 2017 · Viewed 201.6k times · Source

Using homebrew to install Redis but when I try to ping Redis it shows this error:

Could not connect to Redis at 127.0.0.1:6379: Connection refused

Note : I tried to turn off firewall and edit conf file but still cannot ping. I am using macOS Sierra and homebrew version 1.1.11

Answer

LuFFy picture LuFFy · Mar 17, 2017

After installing redis, type from terminal:

redis-server

And Redis-Server will be started