summaryrefslogtreecommitdiff
path: root/redis.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-07-08 10:42:16 +0200
committerantirez <antirez@gmail.com>2013-07-08 10:42:22 +0200
commit64b3b9b1d48527f2b16b44be983a9b8735c15273 (patch)
treeda7d0e04c48652132587760f9fcd55c5a9deb8db /redis.conf
parent98eecb70ebd215d4bc5a9a6917cd9ef04f9e01cf (diff)
downloadredis-64b3b9b1d48527f2b16b44be983a9b8735c15273.tar.gz
Example redis.conf: bind to multiple interfaces documented.
Diffstat (limited to 'redis.conf')
-rw-r--r--redis.conf9
1 files 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