In my localhost, running below command
PORT=4080 node server.js
But, it was throwing an unexpected error.
\'PORT\' is no
SET PORT=8090 && nodemon server.js that worked for me
SET PORT=8090 && nodemon server.js