Skip to content

Instantly share code, notes, and snippets.

@AndreasMadsen
Created June 15, 2011 10:04
Show Gist options
  • Save AndreasMadsen/1026835 to your computer and use it in GitHub Desktop.
Save AndreasMadsen/1026835 to your computer and use it in GitHub Desktop.
Simpel http server
var http = require('http');
http.createServer(function (req, res) {
res.end();
}).listen(1337, "127.0.0.1");
console.log('emitter.js running');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment