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

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions 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 ==
Line 15: Line 18:
  
 
== 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]

Advertising: