title: Error: listen EADDRINUSE in nodejs
body: <p>I've created javascript build system in sublime using <a href="https://www.youtube.com/watch?v=3qW7cseYJu4" rel="nofollow noreferrer">that</a></p>
  <p>Then I run server using that code</p>
  <pre><code>var server = require('http');
  
  function engine(request, response){
      response.writeHead(200,  {'Content-Type': 'text/plain'});
      response.end(&quot;Hello&quot;);
  }
  
  server.createServer(engine).listen(3000);
  </code></pre>
  <p>but when I'll make change and for example will change <code>Hello</code> to <code>Hello World</code>  and refresh browser it doesn't make any sense and when I'm trying rerun (f7) it throws an exception</p>
  <pre><code>events.js:141
        throw er; // Unhandled 'error' event
        ^
  
  Error: listen EADDRINUSE :::3000
      at Object.exports._errnoException (util.js:870:11)
      at exports._exceptionWithHostPort (util.js:893:20)
      at Server._listen2 (net.js:1231:14)
      at listen (net.js:1267:10)
      at Server.listen (net.js:1363:5)
      at Object.&lt;anonymous&gt; (C:\Users\gsiradze\Desktop\nodejs\script1.js:4:8)
      at Module._compile (module.js:409:26)
      at Object.Module._extensions..js (module.js:416:10)
      at Module.load (module.js:343:32)
      at Function.Module._load (module.js:300:12)
  [Finished in 0.1s]
  </code></pre>
  <p>I know that it's because of 3000 port is in use but how can I stop that port an then run the new code?</p>
  <p>I'm pretty new at node.js, so feel free to give any suggestion</p>