From 50adc5347216d5d7f528dd9b9fee63d873f24131 Mon Sep 17 00:00:00 2001 From: whl739 Date: Mon, 15 May 2017 11:59:47 +0800 Subject: [PATCH] Redis: bind to 0.0.0.0 by default. --- app/redis-3.2.8/redis.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/redis-3.2.8/redis.conf b/app/redis-3.2.8/redis.conf index 22e00bcfe..738c38df3 100644 --- a/app/redis-3.2.8/redis.conf +++ b/app/redis-3.2.8/redis.conf @@ -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. @@ -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.