I am quite new to Node.js and i am facing problem in running a simple 'hello world' program in Node.js
program1:
console.log("hello world");
program2:
var http = require('http');
http.createServer(function (request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'});
response.end('Hello World\n');
}).listen(8124);
console.log('Server running at http://127.0.0.1:8124/');
After running both the programs,this is how the terminal continues looks:
>node hello.js
...