Difference between revisions of "Redis-cli -h you-redis-server"
Jump to navigation
Jump to search
(→Errors) |
|||
Line 8: | Line 8: | ||
redis-cli -h mycluster-redis:6379 | redis-cli -h mycluster-redis:6379 | ||
Could not connect to Redis at mycluster-redis:6379:6379: [[Name or service not known]] | 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 == | == Related == |
Revision as of 12:56, 12 December 2023
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 [ 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: