同求答案,大佬们
我的代码:var
http = require("http");
http.createServer(
function
(req,res){
200,{"Content-Type":
"text/html"} ;
res.write("<h1>Node.js</h1>");
res.write("<p>Hello World</p>");
res.end("<p>beyondweb.cn</p>");
}).listen(3000);
console.log("HTTP server is listening at port 3000.");
3 回答2.6k 阅读✓ 已解决
1 回答944 阅读✓ 已解决
2 回答1.2k 阅读
1 回答945 阅读✓ 已解决
2 回答1.7k 阅读
2 回答626 阅读✓ 已解决
2 回答1.1k 阅读
代码不发出来?