Installing node.js on centos 6 with sample app

Node.js is a platform that works on V8 JavaScript Engine .it uses an event-driven function which is very useful for hosting real-time applications. In this article , we can see about installing node.js on centos 6 and running a sample application .

Step 5 » Now run the code using node command.[root@krizna sample]# node test.js Server running at port 2000Step 6 » Now your test application is running on port 2000 . open your browser and goto http://IPaddress:2000 . you will get the page like below. if you are not getting the page , Disable Iptables service on your server . Disable firewall ( Iptables ) »[root@krizna ~]# service iptables stop [root@krizna ~]# chkconfig iptables off