app.listen(PORT, () => { console.log(App running on PORT: ${PORT}) }) This is the best way to listen to your nodejs application when working with node. I hope this will solve the problem
App running on PORT: ${PORT}