title: Node js +Error: listen EADDRINUSE + Unhandled 'error' event
body: <p>I'm using <strong>nodeclipse</strong> plugin for eclipse to run my node js project.Following js file is working properly but <strong>h1</strong> tag is <strong>not working</strong> .I can only see a plain text.plus I'm getting this exception in the runtime.please help me out.</p>
  
  <p><strong>javascript file</strong></p>
  
  <pre><code>   var http = require('http');
  
  http.createServer(function (request, response) {
      response.writeHead(200, {'Content-Type': 'text/html'});
      response.end('&lt;html&gt;&lt;body&gt;&lt;h1&gt;Home&lt;/h1&gt; URL was: ' + request.url + '&lt;/body&gt;&lt;/html&gt;');
  }).listen(3000, 'localhost');
  
  console.log('Server running at http://localhost:3000/');
  </code></pre>
  
  <p><strong>exception</strong></p>
  
  <pre><code> events.js:72
          throw er; // Unhandled 'error' event
                ^
  Error: listen EADDRINUSE
      at errnoException (net.js:904:11)
      at Server._listen2 (net.js:1042:14)
      at listen (net.js:1064:10)
      at net.js:1146:9
      at dns.js:72:18
      at process._tickCallback (node.js:415:13)
      at Function.Module.runMain (module.js:499:11)
      at startup (node.js:119:16)
      at node.js:902:3
  </code></pre>