title: Is possible to run http and https server with same port no in node.js using express?
body: <p>I have two server HTTP and HTTPS with key.Once I authenticated then I need to change Http to HTTPS at the same port..</p>
  
  <pre><code>var httpsoptions={
  key:fs.readFileSync('./keys/twc-key.pem'),
  cert:fs.readFileSync('./keys/twc-cert.pem')
  };
  
  var webServer = express();    
  var websecure = express(httpoptions);  
  </code></pre>
  
  <p>Here I need to maintain same port for both Http and Https how is possible? </p>