• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question Run a nodejs server internally without exposing online

plainstuff

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
Plesk Obsidian 18.0.66 Update #1 Web Host Edition
Hi. I'm moving from Pterodactyl to Plesk and I was wondering if it's possible to run a nodejs server internally (without exposing it to a domain) - so the nodejs server running on the domain can communicate with it, but it won't be publicly accessible.

I suppose if not I'll have to expose it and add some sort of token authentication.
 
You can. You need the nodeJS app to listen on tcp port that is not opened in the firewall. Then from Additional nginx directives pass the requests to the nodeJS app port.

You can monitor the nodeJS app with supervisord or pm2, installed as the webspace system user.
 
Back
Top