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

From wikieduonline
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
  --- clustercfg.use-prd-rem-redis.npnuhi.use1.cache.amazonaws.com ping statistics ---
+
  redis-cli -h mycluster-redis.com
  14 packets transmitted, 0 received, 100% packet loss, time 13303ms
+
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}}
* {{Redis}}
 
  
 
[[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: