0
iam對nodejs很新穎。我發現這個服務器創建程序很難Nodejs服務器創建未運行
var http = require("http");
function onRequest(request, response) {
console.log("Request received.");
response.writeHead(200, {"Content-Type": "text/plain"});
response.write("Hello World");
response.end();
}
http.createServer(onRequest).listen();
感謝名單....我得到它 – Anand