Hi all
i am new to Node.js
i followed the tutorial and typed the following
var sys = require("util"),
http = require("http");
http.createServer(function(request, response) {
response.sendHeader(200, {"Content-Type": "text/html"});
response.write("Hello World!");
response.close();
}).listen(8080);
sys.puts("Server running at http://localhost:1331/");
its running fine while i run it through cmd
but when i open my browser and type the url i.e. http://localhost:1331,
it says
failed to open requested URL
do i have to setup any web server for it??? or Node.js does it itself???