Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am seeing in the following in my redis log:

[1398] 17 Jun 22:55:53.467 # Opening port 6379: invalid bind address

When trying to start redis with service redis start. However, I confirmed that is nothing bound to port 6379 by running:

lsof -i :6379

I even rebooted the server just to make sure, but still getting invalid bind address. Running:

CentOS release 6.4
Redis 2.6.13

Any idea what could be going on?

share|improve this question
    
On what address is redis trying to bind? Check your redis.conf –  slimsuperhero Jun 18 '13 at 6:14
    
That was it, was set to localhost, when I changed to 127.0.0.1 started working. –  Justin Jun 18 '13 at 6:26

1 Answer 1

Changed address binding from localhost to 127.0.0.1 in /etc/redis.conf and it started working.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.