 <p>add the following line of code:</p> <pre><code>app.listen(443); </code></pre> <p>Also, try getting rid of all of the http module, as express handles most of that for you. Look at the beginning Hello World for Express, <a href="http://expressjs.com/starter/hello-world.html" rel="nofollow">http://expressjs.com/starter/hello-world.html</a> and look for the part where it handles the port.</p>