Last Updated: February 25, 2016
·
796
· laurentgoderre

Run a nodejs connect server anywhere on Windows

1) Make sure your environment variables contain a variable called NODEPATH pointing to the global npm folder (usually %USERPROFILE%\AppData\Roaming\npm\nodemodules)

2) Install connect as a global module (npm install -g connect)

3) Download and extract https://github.com/LaurentGoderre/connect-windows-integration/archive/master.zip

4) Run install.bat as an administrator

5) Right click on any folder and click "Launch Web Server Here". The server can be accesses using http://localhost:8080

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

The website is part of the attack surface, not only the API behind it. Every script, iframe, and tag on a public page is code that did not go through the same review as the backend.

Security insights from Cside