hi
i have just started learning nodejs. i wrote this simple code
var http = require("http");
var fs=require('fs');
var wbsocket = ('ws');
http.createServer(function(req, res) {
res.write('2working');
}).listen(8889);
console.log('listing to port 8080');
and run in cmd node filename.js
in cmd doesnt give me any error and when i open webbrowser its continue loading and after 1mint says webpage not avilable.
so please tell me what i have wrong done ?