I created expressjs application using the following commands:
express -e folderName npm install ejs --save npm install
When I run the appli
I fixed the bug by changing the port which was
app.set('port', process.env.PORT || 3000);
and changed to:
app.set('port', process.env.PORT || 8080);