Skip to content

Instantly share code, notes, and snippets.

@chobie
Created July 17, 2012 16:06
Show Gist options
  • Save chobie/3130320 to your computer and use it in GitHub Desktop.
Save chobie/3130320 to your computer and use it in GitHub Desktop.
var http = require("http");
http.createServer(function(request, response) {
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}).listen(8888,"::1");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment