Difference between revisions of "Redis-cli -h you-redis-server"
Jump to navigation
Jump to search
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | --- | + | 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 == | ||
+ | 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 == | ||
+ | * <code>[[redis-cli config set requirepass]]</code> | ||
== See also == | == See also == | ||
+ | * {{redis-cli config}} | ||
* {{redis-cli}} | * {{redis-cli}} | ||
− | |||
[[Category:Redis]] | [[Category:Redis]] |
Latest revision as of 13:00, 12 December 2023
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]
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: