is there a way to get the client IP in redis?

redis

Solution

With MONITOR, only the clients actually sending traffic to Redis will be shown. If you just need to get a list of connected clients, you can use the CLIENT LIST command.

$ redis-cli client list

It will return a table whose fields are described there:

Redis "Client List" purpose and description

Problem

I did a web search but found nothing on this. I am running redis on a cluster and would like to find out which machine is connecting to redis ( especially when no machine is supposed to be connecting, but redis still says some machine connected). thanks in advance.

Original source

Related problems