redis host code example
Example 1: check that redis is running
$ redis-cli ping
PONG
Example 2: redis-cli port host
$ redis-cli -h redis15.localnet.org -p 6390 ping
PONG
$ redis-cli ping
PONG
$ redis-cli -h redis15.localnet.org -p 6390 ping
PONG