Control Web Panel
WebPanel => Apache => Topic started by: pipoy on May 09, 2020, 05:18:49 AM
-
I followed this guide to install node js
https://wiki.centos-webpanel.com/how-to-install-and-setup-node-js-on-cwp
After this part
Configure webservers for domain to be used for nodejs Application:
CWP.Admin left Menu -> Webserver settings -> Webserver Domain Conf -> Select Username -> Select Domain/Subdomain -> create configuration -> select any option with (custom port) -> check the box – Rebuild webserver conf for domain on save -> Enter port number you have used in the application for the custom port, leave IP as 127.0.0.1 -> save changes
I get Service Unavailable.
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Anyone here knows how to solve this?
My application requires LAMP.
I deployed a brand new server with just CWP just to see what's the issue. Same thing.
So i must be missing 1 step or CWP is creating this error.
-
Anyone please?
-
check logs from /usr/local/apache/domlogs/
-
I am getting the same error. please note I open a port for 8181 as I used, still problem is exist. can any one help?
-
Did you initialize a nodjs project, and configure it's port?
-
Sorry for necro-posting but here's a solution.
I think the problem is on NAT systems.
Just listen your private ip on your node app. (source code)
and modify your vhost template to listen your private ip (Manage WebServers Configuration)
https://imgur.com/a/dJlAkId (This is my first post and I'm not sure if posting images with imgur is allowed. But I couldn't upload images here)
Then it will work fine!