第一个 服务器 的例子就从 “Hello World” 开始: var http = require('http');http.createServer(function (request, response) { response.writeHead(200, {'Content-Type': 'text/plain'}); response.end('Hello World\n');}).listen(8124);console.log('Server running at http://127.0.0.1:8124/');把代码拷贝到example.js文件里,用 node 程序执行>