redis-cli -h you-redis-server

From wikieduonline
Jump to navigation Jump to search

redis-cli -h mycluster-redis.com
redis-cli -h mycluster-redis.com -p 6379
redis-cli -h mycluster-redis.com -c -p 6379


redis-cli -h mycluster-redis.com --tls -a your-password -p 6379

Errors[edit]

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[edit]

See also[edit]

Advertising: