I am using Express framework to built my app and Forever to deploy it but it doesn't seem to work because im not using a cloud based computer as suggested on the internet like in this video : https://www.youtube.com/watch?v=XxRuW1pfGTI .
What I want to do is put my files on htdocs folder of Apache server that resides on my computer and host the website personally by using a tool like Forever and be done with it, but i think im missing something.
I read about mod_proxy to reverse proxy the URL but i dont like the idea because its just redirecting my IP to https:/localhost/3000/ which cant be the best way to do it.
Anyone can tell me what am I doing wrong or how its done correctly? Thanks
Edit1: what my question really comes down to (if it makes sense at all) is : what is making the node.js /bin/www file to listen to say port 3000 on "localhost" and how can i change this to my IP which is on the internet through Apache?
var port = normalizePort(process.env.PORT || '3000');