This problem is a misunderstanding caused by many documents explaining bind. Many places are translated as follows:
Specify that redis only receives requests from this IP address. If it is not set, all requests will be processed. It is best to set this in a production environment
However, in fact, what should be bound is the ip of the network card of the server where redis is located. That is to say, if your redis server has two network cards, one is ip-1 and the other is ip-2, if you bind ip-1, then only requests for ip-1 will be accepted.