unixsocket /var/run/redis/redis.sock unixsocketperm 770 port 0 # Do not actually listen to any tcp port # but include the bind directive because without it redis will # listen on the public interface. Port 0 causes it to NOT listen on # the public interface. Adding the below line is an extra precaution. # If a developer comes by later and wants to listen on a tcp port and changes # the above port, it will ONLY listen on the local interface. bind 127.0.0.1