Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - alexandr

Pages: [1]
CentOS 7 Problems / NodeJS - Setup & Start up the App
« on: December 30, 2022, 12:59:52 PM »
Hello people.
I need to migrate a NodeJs App + MongoDB to my CWP Pro server.

I was able to install without any problem the MongoDB and deploy the NodeJS manager from my CWP pannel.

I putt the backup of my App under: /home/user/public_html
Run "NPM Install"

Then i go to the NodeJs manager and as per instruction i set all params as requested.

My StartUp File is called "server.js"
And for URL (HTTP or HTTPS URI which will link your application) from the drop menu i selected the domain and put the port number 3000 on wich the app is running. It says that it will automatically create the mapping.

Then i save and run the App. It says that the App properly started without errors.

But when i'm open the url it get me error 503 Service Unavailable

I tried to open ports (3000 and 8000(backend)) and then i tried to disable the firewall but nothing..

I'm pretty sure that i miss something... Please, give me some help.
Thank you.

Pages: [1]