server running correctly but when i try to go to check on default domein its shows not found (Localy working my app ) - but on the domein not working i have bootstrap+node.js i have default port 8080 i changed from 3000 i think its banned but not can you help me with this ? anyone ?
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Hi there,
Can you share a bit more information about your exact setup? Are you using the App Platform or are you running your Node.js app on a Droplet?
If this is running on a Droplet are you using Nginx? If so can you share your Nginx config?
If this is running on the App Platform, deploying a Node.js app is much simpler because the platform manages the server and networking configurations for you automatically.
Here’s how it works:
When you deploy your Node.js app on App Platform, it automatically handles things like port configuration and traffic routing. Your app will listen on port 8080 by default (or whatever port your app is configured to run on) and App Platform will map it to the public-facing domain for you.
You just need to ensure that your app binds to
0.0.0.0
instead oflocalhost
, as App Platform expects the app to be accessible externally.To set this up, you can follow this guide for deploying Node.js on App Platform: Deploy a Node.js App on App Platform.
Once deployed to the App Platform you don’t need to specify the port when accessing your site via the default domain name, this will already be mapped for you when you access your domain.
- Bobby