title: close a port with nodeJS
body: <p>As I write a program that listen on a port, lets say 8081, and then write another program that listen on the same port I will get this type of error message:</p>
  <pre><code>Error: listen EADDRINUSE
      at errnoException (net.js:901:11)
      at Server._listen2 (net.js:1039:14)
      at listen (net.js:1061:10)
      at Server.listen (net.js:1127:5)
      at Object.&lt;anonymous&gt; (C:\NetBeansWorkPlace\nodeJS_Files\TutsNodeJS\static_file_server.js:36:4)
      at Module._compile (module.js:456:26)
      at Object.Module._extensions..js (module.js:474:10)
      at Module.load (module.js:356:32)
      at Function.Module._load (module.js:312:12)
      at Function.Module.runMain (module.js:497:10)
  </code></pre>
  <p>I found that the port is in use but how can I clear the port, or stop the app from listening on a given port?</p>