title: Redis unable to connect with env port
body: <p>I'm trying to create a Redis client. However whenever I do:</p>
  <pre><code>const REDIS_PORT = process.env.PORT || 6379;
  
  const client = redis.createClient(REDIS_PORT);
  </code></pre>
  <p>I get <code>AbortError: Ready check failed: Fatal error encountered. Command aborted. It might have been processed.</code></p>
  <p>However if I do:</p>
  <pre><code>const REDIS_PORT = 6379;
      
  const client = redis.createClient(REDIS_PORT);
  </code></pre>
  <p>It connects properly. Why do I get this error when I put <code>process.env.PORT</code>?</p>