• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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