redis-cli ping
. If Redis is running, it should return PONG
.ping [Redis server IP/hostname]
to check network connectivity.bind
and protected-mode
settings in the Redis configuration file (redis.conf
). If bind
is set to 127.0.0.1
, it will only accept connections from the same machine. For protected-mode
, if it’s yes
, it only accepts connections from the loopback interface unless a password is configured.iptables -L
(Linux) to check for any rules that might be denying access to the port Redis is running on (default is 6379).requirepass
configured in redis.conf
, ensure that you are providing the correct password when trying to connect. Use redis-cli -a yourpassword
to authenticate.redis.conf
file under the logfile
directive.redis-cli
command INFO
to check the server's health and performance metrics. Pay special attention to sections like Memory
, Clients
, and Stats
to identify any anomalies.maxclients
directive in redis.conf
. Use redis-cli INFO clients
to see the current number of client connections.top
or htop
(Linux) to monitor these resources.sudo systemctl restart redis
on a systemd-based system or the appropriate command for your system's init system.Let Dr. Droid create custom investigation plans for your infrastructure.
Book Demo