Hello,
I want to allow connections to the redis-server only from the localhost of the redis-server itself (192.168.10.1) and another server (192.168.10.2).
I wondered if I should set the each IP address in "bind" parameter in redis.conf as shown below, but it doesn't work correctly.
As the result, it can connect to redis-server from anywhere (even from a server other than 192.168.10.1 or 192.168.10.2).
============================================================
bind 127.0.0.1 192.168.10.1 192.168.10.2
============================================================
I've tried both protected-mode yes or no, but the results are the same.
Even if I try to set bind in two lines as shown below, it doesn't work correctly.
============================================================
bind 192.168.10.1 192.168.10.2
bind 127.0.0.1
============================================================
I think it's basic, but I don't know the cause.
I changed the "bind" settings and verified it many times, but I don't understand and I would like someone to help me.
<Environmental information>
Redis-server OS: CentOS 7.6
Redis version: 6.0.11
Best regards,