In my localhost, running below command
PORT=4080 node server.js
But, it was throwing an unexpected error.
'PORT' is not recognized as an internal or external command, operable program or batch file.
Do I need to install any module or did I miss any syntax to run it properly?
node server.js
, It was running on port 3000. But I need to run it on port 4030. I thought, I need a module for the port but I didn't find anything related to that in google. I thought it would be useful for others if I raise this as an issue. – Gunboat