title: Https access by ip working but not by url
body: <p>I have a server setup in node, everything seems fine in local but in the server is not working well.</p>
  
  <pre><code>    server.listen SERVER.secure_port, SERVER.host, ()-&gt;
        console.log("SECURE LISTENING " + SERVER.host + ":" + SERVER.secure_port )
      server.listen SERVER.port, SERVER.host, ()-&gt;
        console.log("INSECURE LISTENING " + SERVER.host + ":" + SERVER.port )
  </code></pre>
  
  <p>Basically listening in port 80 works perfect and behaves as expected, secure port works only by the ip and not by the domain.</p>