Skip to main content

NODE JS: My node application runs when I run from cPanel terminal, BUT when I run from application manager it does not get the path.

Comments

2 comments

  • Ahsanul Hoque
    My node application when run from cPanel terminal it works, but when run from application manager it does not get the path. const express =require('express'); const app = express(); const PORT = 5000; app.get('/', function (req,res){ res.send('Node Response is WORKING...') }); Result Shows: Cannot GET /nodeapps I tried both ways by putting the nodeapps forder in HOME directory and also under public_html
    0
  • cPRex Jurassic Moderator
    Hey there! I know we spoke a bit in Discord, but we weren't able to come to a resolution. Are you able to get an application working by following the instructions here? How to Install a Node.js Application | cPanel & WHM Documentation
    0

Please sign in to leave a comment.