Saturday, 18 April 2015

Bind redis server to listen to IP address of the machine


It is very simple process.

Step 1: Open /etc/redis/redis.conf file and change
bind 127.0.0.1
to
bind 0.0.0.0

Step 2: Restart the service
service redis-server restart

Step 3: redis-cli -h 192.168.x.x ping


No comments:

Post a Comment