1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env node require('http').createServer(function(request, response) { var body = '<html></html>'; response.writeHead(200, { 'Content-Type': 'text/html', 'Content-Length': body.length }); response.end(body); }).listen(80);