The binding XXX.XXX.XXX.XXX will force the server to listen on the address XXX.XXX.XXX.XXX, of course, if this address is not configured on your server, it will not work. You can install multiple ips as follows:
bind 192.168.0.1 127.0.0.1
do not usebind 0.0.0.0 if you use sentinel, it will tell the client that the IP address of the Redis server is 0.0.0.0, and the client will try to connect to itself. instead, if you are on a secure network and want to listen to all interfaces, just comment out the line
protected-mode yes
source
share