redis – testing connectivity for a server

brew install redis

redis-cli <hostname>

hostname:6379>ping

PONG

 

Note, a quick way of testing without installing redis is to use nc. i.e.

You can also do this with curl.

See: