title: Chrome Error - This site can’t be reached XXX.com refused to connect
body: <p>I have a website up and running on an Amazon EC2 instance. The website works everywhere except for the Chrome Desktop version. It outputs this error:
  <a href="https://i.stack.imgur.com/R39D0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R39D0.png" alt="Chrome error"></a></p>
  
  <p>This error occurs if I type <code>mydomain.com</code>. Strangely, the site loads fine when typing <code>www.mydomain.com</code> (typing <code>mydomain.com</code> works in every other browser, even in the Chrome mobile version).</p>
  
  <p>As the website runs on port <code>3000</code>, I am redirecting every request to this port. </p>
  
  <p>When typing <code>mydomain.com</code> Chrome redirects to:</p>
  
  <p><a href="https://i.stack.imgur.com/XY4KL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XY4KL.png" alt="mydomain.com"></a></p>
  
  <p>When typing <code>www.mydomain.com</code> Chrome redirects to:</p>
  
  <p><a href="https://i.stack.imgur.com/LQDEg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LQDEg.png" alt="www.mydomain.com"></a></p>
  
  <p>So I guess it has something to do with the port?</p>
  
  <hr>
  
  <p>Here are some further details about my setup:</p>
  
  <p><a href="https://i.stack.imgur.com/GZeyo.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GZeyo.jpg" alt="Route53 records"></a>
  <a href="https://i.stack.imgur.com/bJty9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bJty9.jpg" alt="Application Load Balancer"></a>
  <a href="https://i.stack.imgur.com/eSfUm.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eSfUm.jpg" alt="Target Group"></a></p>