Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

New Post: Node.JS command line to specify URL and port

$
0
0
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!

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>