Skip to content

Instantly share code, notes, and snippets.

@ivanoats
Created February 13, 2014 04:11
Show Gist options
  • Save ivanoats/8969611 to your computer and use it in GitHub Desktop.
Save ivanoats/8969611 to your computer and use it in GitHub Desktop.
var http = require('http');
console.log("Creating Server");
var server = http.createServer(function(request, response) {
response.writeHead(201);
response.write("<h1>hello from IVAN's computer</h1>");
response.end();
});
server.listen(3000, function() {
console.log("Server Started");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment