When I try to open port 80 in node.js using this code (helloWorld)
var http = require('http');
var server = http.createServer(function (request, response) {
response.writeHead(200);
response.end("Hello World\n");
});
server.listen(80);
but it doesn't work, only if i give it port 8000
or something else.
since i work under win7 i open the cmd with right click and then run as administrator but it seems it doesn't run like a root under linux.