Difference between revisions of "Redis-cli -h you-redis-server"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
  redis-cli -h mycluster-redis.com
 
  redis-cli -h mycluster-redis.com
 
  redis-cli -h mycluster-redis.com -p 6379
 
  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 ==
 
== Errors ==

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]

Advertising: