From 64b3b9b1d48527f2b16b44be983a9b8735c15273 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 8 Jul 2013 10:42:16 +0200 Subject: [PATCH] Example redis.conf: bind to multiple interfaces documented. --- redis.conf | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/redis.conf b/redis.conf index 10560eb76..a31d014c4 100644 --- a/redis.conf +++ b/redis.conf @@ -24,9 +24,14 @@ pidfile /var/run/redis.pid # If port 0 is specified Redis will not listen on a TCP socket. port 6379 -# If you want you can bind a single interface, if the bind option is not -# specified all the interfaces will listen for incoming connections. +# By default Redis listens for connections from all the network interfaces +# available on the server. It is possible to listen to just one or multiple +# interfaces using the "bind" configuration directive, followed by one or +# more IP addresses. # +# Examples: +# +# bind 192.168.1.100 10.0.0.1 # bind 127.0.0.1 # Specify the path for the unix socket that will be used to listen for