创建nodeTest.js如下: var http = require('http'); http.createServer(function (request, response){ response.writeHead(200, {'Content-Type' : 'text/plain'}); response.end('hello world\n'); }).listen(80); console.log('server running at http://127.0.0.1:80');…