About the bind parameter in the Redis configuration file

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.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326433355&siteId=291194637