title: Cypress fails to visit localhost
body: <p>I am new to Cypress, I am trying to run a simple test on a docker container but I get this error:</p>
  <pre><code>cy.visit() failed trying to load:
  
  http://bp.localhost:84/
  
  We attempted to make an http request to this URL but the request failed without a response.
  
  We received this error at the network level:
  
    &gt; Error: getaddrinfo ENOTFOUND bp.localhost
  
  Common situations why this would fail:
    - you don't have internet access
    - you forgot to run / boot your web server
    - your web server isn't accessible
    - you have weird network configuration settings on your computer
  </code></pre>
  <p>But my container is running and I can access to the test website from my browser</p>
  <p><a href="https://i.stack.imgur.com/uXJI7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uXJI7.png" alt="enter image description here" /></a></p>
  <p>I have been looking around for a solution, but most of the ones I've found are related to Cypress being inside the same docker image.</p>
  <p>I have installed it locally with npm install since I cannot modify the image itself.</p>
  <p>How do I access the above URL then?</p>