February 2018
Intermediate to advanced
382 pages
11h 33m
English
Let's discuss how to secure Redis with proper network configuration. It is never advisable to expose a Redis production server to the internet, where any untrusted client can access it. Therefore, it is imperative to configure Redis to bind to an IP address that is part of a trusted network:
bind 127.0.0.1 192.168.0.31 port 36379
#Replica's configuration (redis.conf) slaveof 192.168.0.31 36379 #Sentinel's configuration (sentinel.conf) sentinel monitor mymaster 192.168.0.31 36379
We can also configure Redis to stop listening to any network interface ...
Read now
Unlock full access