configuration node.js windows 2008 server
I did install all needed package and node.js to dedicated machine Windows
2008 Server.
var http = require('http');
var port = 1337;
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(port, '127.0.0.1');
console.log('Server running at http://127.0.0.1:' + port );
So when I call http://local.host:1337/, I get 'Hello World' But if try to
call this service from another machine: http://my.domain.ip.address:1337/
Ooops, I can't see nothing. I already switch Off firewall at all
Thanks, to All advices
No comments:
Post a Comment