title: How can you disable protected mode in Redis 3.2.6 Sentinel?
body: <p>I have attempted everything recommended by the following error message:</p>
  
  <blockquote>
    <p>(error) DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to clients. In this mode connections are only accepted from the loopback interface. If you want to connect from external computers to Redis you may adopt one of the following solutions: 1) Just disable protected mode sending the command 'CONFIG SET protected-mode no' from the loopback interface by connecting to Redis from the same host the server is running, however MAKE SURE Redis is not publicly accessible from internet if you do so. Use CONFIG REWRITE to make this change permanent. 2) Alternatively you can just disable the protected mode by editing the Redis configuration file, and setting the protected mode option to 'no', and then restarting the server. 3) If you started the server manually just for testing, restart it with the '--protected-mode no' option. 4) Setup a bind address or an authentication password. NOTE: You only need to do one of the above things in order for the server to start accepting connections from the outside.</p>
  </blockquote>
  
  <p>My <code>/etc/redis/sentinel.conf</code>:</p>
  
  <pre>daemonize yes
  sentinel myid <b>XXX</b>
  sentinel monitor master <b>XXX</b> 6379 2
  sentinel down-after-milliseconds master 60000
  sentinel config-epoch master 0
  protected-mode no
  bind 0.0.0.0
  port 26379</pre>
  
  <p><b>EDIT:</b> My <code>/etc/redis/redis.conf</code>:</p>
  
  <pre>port 6379
  bind 0.0.0.0
  protected-mode no</pre>
  
  <p>I've also tried adding <code>sentinel auth-pass master XXX</code>.</p>
  
  <p>My entire backend is on private subnets. I'm VPN'd into my datacenter behind the firewall, coming from the same private network, and I can still only connect locally without getting that frustrating error message.</p>
  
  <p><b>Server Environment:</b> Debian 8, Redis 3.2.6<br/>
  <b>Client Environment:</b> Ubuntu 16.10, redis-cli 3.2.1<br/>
  <b>Redis instances:</b> 3<br/>
  <b>Sentinel instances:</b> 3<br/></p>
  
  <p>I've done not just one, but 3/4 of the things suggested (didn't set the command-line flags). Does anyone have any guidance or ideas? I'm clearly missing something that I've been unable to figure out from the error message, documentation, Stackoverflow, Google, and trial &amp; error. I figured I'd post a question here first, before diving into the source code.</p>
  
  <p>Any help is appreciated. Thanks!</p>
  
  <p>... and, yes, I've restarted the daemons after configuration changes. :)</p>