概要:用一个最简单是例子感受一下node.js 的能力
1.代码
var http = require("http")
http.createServer(function (request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'});
response.end('Hello World\n');
}).listen(8081);
console.log('Server running at http://127.0.0.1:8081/');
2.运行结果
2.1 node t.js