redis-server in ubuntu14.04: Bind address already in use

Solution 1:

$ ps aux | grep redis

Find the port that its running on.. In my case..

MyUser  8821   0.0  0.0  2459704    596   ??  S    4:54PM   0:03.40 redis-server *:6379

And then close the port manually

$ kill -9 8821

Re-run redis

$ redis-server

Solution 2:

sudo service redis-server stop

Solution 3:

I solved this problem on Mac by just typing redis-cli shutdown, after this just re open the terminal and type redis-server and it will work .