Skip to content

Commit

Permalink
Redis: bind to 0.0.0.0 by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
whl739 committed May 15, 2017
1 parent bf96e9e commit 50adc53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/redis-3.2.8/redis.conf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
# JUST COMMENT THE FOLLOWING LINE.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bind 127.0.0.1
bind 0.0.0.0

# Protected mode is a layer of security protection, in order to avoid that
# Redis instances left open on the internet are accessed and exploited.
Expand All @@ -77,7 +77,7 @@ bind 127.0.0.1
# you are sure you want clients from other hosts to connect to Redis
# even if no authentication is configured, nor a specific set of interfaces
# are explicitly listed using the "bind" directive.
protected-mode yes
protected-mode no

# Accept connections on the specified port, default is 6379 (IANA #815344).
# If port 0 is specified Redis will not listen on a TCP socket.
Expand Down

0 comments on commit 50adc53

Please sign in to comment.