redis-cli -h you-redis-server
redis-cli -h mycluster-redis.com redis-cli -h mycluster-redis.com -p 6379
Errors
redis-cli -h mycluster-redis:6379 Could not connect to Redis at mycluster-redis:6379:6379: Name or service not known Solution: use right syntax for the command. redis-cli -h mycluster-redis -p 6379
Related
See also
redis-cli config
redis-cli [ info server | memory usage | info memory | memory stats | memory doctor | dbsize | flushall | ping | monitor | --bigkeys | --stat | --scan | --latency | --latency-history | --latency-dist | --intrinsic-latency 5 | -x | -h ] redis-cli --help
Advertising: