i have installed the nodejs from the following address
http://nodejs.org/
but I am not able to run the code sample at this address
http://askhds.blogspot.com/2012/01/nodejs-get-starting-with-nodejs-on_24.html
I am using visual studio 2008 and I have the built in server of visual studio may not have issue of conflict..
You won't be able to run node.js through the built-in VS web server because that is only used for launching .net applications. Node.js is for running javascript server-side. That example you linked to does not even mention visual studio, I'm not sure why you expect it to work in it.
Please take a look here first:
http://en.wikipedia.org/wiki/Nodejs
and then here:
How do I get started with Node.js
It sounds like you are coming from a .Net background because you are trying to use Visual Studio. You need to understand the approach that Node.js takes, as it is very different from .Net. Node.js actually creates its own web server, so it doesn't need to be hosted in IIS or anything.
While you can use Visual Studio to edit .js files, and you can configure it to be used as a Node.js development environment, it isn't really built for that purpose. If you are still interested in using it, take a look at the steps here:
http://www.seesharprun.net/leveraging-visual-studio-2012-for-node.js-development
Download the nodejs from this link and install it... It will work. http://code.google.com/p/nodejs-win/downloads/list