为什么我不能在node.js中使用80端口?调用node.js的listen函数时,端口和IP地址的规则是什么?哪些是允许的,为什么?
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Yo');
}).listen(80, "127.0.0.1");
Thanks!!!