title: Changing Node.js listening port
body: <p>I just installed node.js on Windows. I have this simple code which does not run:</p>
  
  <p>I get:
  Error: listen EADDRINUSE</p>
  
  <p>Is there a <strong>config file</strong> that tells node.js to listen on a specific port?</p>
  
  <p>The problem is I have Apache listening on port 80 already.</p>
  
  <p>EDIT:</p>
  
  <pre><code>var http = require('http'); 
  var url = require('url'); 
  
  http.createServer(function (req, res) { 
   console.log("Request: " + req.method + " to " + req.url); 
   res.writeHead(200, "OK"); 
   res.write("&lt;h1&gt;Hello&lt;/h1&gt;Node.js is working"); 
   res.end(); 
  }).listen(5454); 
  console.log("Ready on port 5454");
  </code></pre>