Configuration (Production)

/etc/redis/redis.conf:
----------------------
...
daemonize yes
...
port 6379
...
bind 127.0.0.1
...
_$: ps aux | grep redis
redis     1772  0.1  0.3  35188  3156 ?        Ssl  Feb02   7:20 /usr/bin/redis-server 127.0.0.1:6379

With this minimal configuration (daemon listening on port 6379 to local connections) should be enough.

Configuration (Development)

In the development server, we have to permit connections from every interface, so we comment out the line which binds to the loopback interface and restart redis:

/etc/redis/redis.conf:
----------------------
...
daemonize yes
...
port 6379
...
# bind 127.0.0.1
...
_$: service redis-server restart
Stopping redis-server: redis-server.
Starting redis-server: redis-server.
_$: ps aux | grep redis
redis     4095  0.1  0.7  38040  7504 ?        Ssl  18:49   0:00 /usr/bin/redis-server *:6379