title: Connecting to a remote Azure Redis Cache using Redis CLI
body: <p>I'm trying to use <code>redis-cli</code> to connect to my Redis cache hosted in MS Azure.</p>
  
  <p>I created a shortcut to the executable in Windows, passing through the hostname port and pw:
  <code>
  "C:\Program Files\Redis\redis-cli.exe" -h myredis.redis.cache.windows.net -p 6380 -a "myaccesskey"
  </code></p>
  
  <p>But it just hangs there. </p>
  
  <p>P.S the connecting string <em>is</em> valid, because it's the same one i'm using in my client library to successfully connect.</p>
  
  <p>What am i doing wrong?</p>
  
  <p>I need a way to remotely (e.g from my PC running windows) perform admin-style operations against my remote Redis cache, such as removing given keys, or flushing a database.</p>
  
  <p>The only other thing i can think of is to write a console application that uses a library such as <a href="https://github.com/StackExchange/StackExchange.Redis" rel="noreferrer">StackExchange.Redis</a> to do the work i need, ad-hoc.</p>
  
  <p>Any advice on what i should be doing here?</p>