title: Nodejs Azure Redis Cache hang forever and read ECONNRESET error
body: <p>I create a new Azure Redis Cache, which take almost 5 minutes to finish creating. I'm using the node-redis package, here's my code</p>
  
  <pre><code>var client = redis.createClient(
    process.env.REDIS_PORT || 6379,
    process.env.REDIS_HOST || '127.0.0.1'
  );
  if(process.env.REDIS_HOST) {
    client.auth(process.env.REDIS_KEY);
  }
  </code></pre>
  
  <p>Yes those environment variables are properly set, it just hang on for a while and raise an error:  Redis connection to mycache.redis.cache.windows.net:6380 failed - read ECONNRESET.</p>
  
  <p>Now, when I use the redis-cli to try to connect with <code>redis-cli -h myhost -p 6380 -a the-auth-key</code> it just hang at the command line and no connection seems to be established, but no error either. It's just doing nothing. If I change the port etc, I get connection error. So I'm currently wondering what I'm doing wrong?</p>
  
  <p>I've created another redis cache on a different region an plan (I took the biggest, with 99.9 SLA etc). Still, no connection is possible.</p>
  
  <p>Any help would be appreciated.</p>