I have a node app and I can run it on localhost as [IP ADDRESS]:3000, but how do I get it to run forever just as [IP ADDRESS]? A little confused on how this works
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
So would I need to do something like this? https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-14-04
You can use apache, nginx, haproxy, or the like and reverse proxy from [IP ADDRESS] -> [INTERNAL IP]:3000 (With Internal IP being locally - 127.0.0.1). You can also change the port of your app to make it use 80 so when someone enters the IP (or domain if its an A record) it will go to the web page of your app without having to define the port within the URL
Browsers default to port 80 for HTTP and 443 for HTTPS, changing your server’s port (whether it’s Node.js or something else) to port 80 should do the trick.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
