mirror of
https://github.com/fluencelabs/redis
synced 2025-03-20 09:30:55 +00:00
Example redis.conf: bind to multiple interfaces documented.
This commit is contained in:
parent
98eecb70eb
commit
64b3b9b1d4
@ -24,9 +24,14 @@ pidfile /var/run/redis.pid
|
|||||||
# If port 0 is specified Redis will not listen on a TCP socket.
|
# If port 0 is specified Redis will not listen on a TCP socket.
|
||||||
port 6379
|
port 6379
|
||||||
|
|
||||||
# If you want you can bind a single interface, if the bind option is not
|
# By default Redis listens for connections from all the network interfaces
|
||||||
# specified all the interfaces will listen for incoming connections.
|
# 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
|
# bind 127.0.0.1
|
||||||
|
|
||||||
# Specify the path for the unix socket that will be used to listen for
|
# Specify the path for the unix socket that will be used to listen for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user