This project is read-only.

Node.JS command line to specify URL and port

Dec 14, 2014 at 3:56 PM
I was able to run Node.JS using Visual Studio properly by specifying a "Launch URL" and "Node.JS port". How would I achieve the same by running Node.JS command line? I tried the following, but it didn't work:

node.exe server.js PORT=1337 URL="HelloServer"

Any thoughts on the proper syntax? I deployed the Node.JS application to an Azure Cloud App, but didn't know how to run it manually :-(

Thanks for your kind help in advance!