How to set up Node server for production on own machine?

Posted by Matt Hintzke on Stack Overflow See other posts from Stack Overflow or by Matt Hintzke
Published on 2013-07-02T05:02:51Z Indexed on 2013/07/02 5:05 UTC
Read the original article Hit count: 124

Filed under:
|
|

This must be a pretty basic thing to do, but I cannot find any good guide on how to do it on the internet. I only find how to set up a development environment for Node. I want to be able to forward my R-Pi's port 80 to my Node server, which I want to obviously listen on port 80. How can I close the native port 80 so that I can let me Node server listen on that port.

Ultimately, I want to be able to access my pi from any remote location. I know how to set up a static IP and forward the port on my router, but now how do I allow Node into port 80?

© Stack Overflow or respective owner

Related posts about linux

Related posts about node.js