title: Uncaught exception 'Predis\Response\ServerException' with message 'MOVED 7369
body: <p>Getting this <em>error</em> : </p>
  
  <blockquote>
    <p>[error] 1118#1118: *366 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught exception 'Predis\Response\ServerException' with message 'MOVED 7369 10.0.213.16:6379'</p>
  </blockquote>
  
  <p>My <strong>Redis connection code</strong> is: </p>
  
  <pre><code>$parameters = array(
                      "scheme" =&gt; "tcp",
                      "host" =&gt; "testingredis.akf46e.clustercfg.use1.cache.amazonaws.com",
                      "port" =&gt; 6379,
                      "database" =&gt; 0,
                  );
  
  
  $db = new Predis\Client($parameters, $options);
  </code></pre>
  
  <p><strong>Note</strong>: The above code is working fine in local but not working in my AWS server. Any help would be appreciated.</p>