I created expressjs application using the following commands:
express -e folderName npm install ejs --save npm install
When I run the appli
->check what’s running on port 8080 or what ever port u want to check
lsof -i @localhost:8080
if something is running u can close it or use some kill command to close it