Is it some command exist to run my node.js code with directly specified port? something like node server.js port=7777 ?
node server.js port=7777
my server.js code looks like thi
On ubuntu I just do
PORT=7777 node .
in commandline, no set or export needed.