edit-icon download-icon

How to connect Redis-cli to ApsaraDB for Redis?

Last Updated: Jan 04, 2018

The following command is used to connect redis-cli to ApsaraDB for Redis:

  1. redis-cli -h instance connection address -a instance ID:password

Note: ApsaraDB for Redis can only be connected from ECS in the same region. It cannot be connected from ECS in other regions or through public network. This is because ApsaraDB for Redis only supports access from the intranet.

Thank you! We've received your feedback.