标签:
新建server.js
var http = require("http"); http.createServer(function(request, response) { response.writeHead(200, { "Content-Type": "text/plain" }); response.write("Hello World"); response.end(); }).listen(8888);
node一下:
标签:
原文地址:http://www.cnblogs.com/tinyphp/p/4935757.html