简体   繁体   中英

Run Node Project on apache Server (vps) in ubuntu

I have taken git clone in /var/www/html/project on server(apache) . I have started nodemon/pm2 start/ npm start it's running on the putty terminal but when I access through global IP with a port number it can not run on the system... Plz help how can we r## Heading ##un the node app on the server

enter image description here

Take a look at this. https://stackoverflow.com/a/26224204 There the accepted answer suggests to use proxypass to route node through apache. Why do you want to run nodeJS on an apache server anyways? Node can run independently

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM