title: Node js is still listening to the port after ctrl+z
body: <p>I am trying to learn some features of node on ubuntu and after I press ctrl+z on my console to stop the server I had (in order to restart server for recognizing my changes on the code), the node still listens to the port (in this case 3000 ). </p>
  
  <p>Then, everytime I have to find the pid by typing </p>
  
  <pre><code>lsof -i tcp:3000
  </code></pre>
  
  <p>and kill it manually by typing </p>
  
  <pre><code>sudo kill -9 pid_number_I_got
  </code></pre>
  
  <p>I just wonder why it still listens to it and I want not to have to do this thing everytime. Any help ? </p>
  
  <hr>
  
  <p>The code </p>
  
  <pre><code>var http = require("http");
  
  var server = http.createServer(function(req,res){
      console.log(req.url , req.method);
      res.end("hello \n");
  });
  
  server.listen(3000);
  </code></pre>
  
  <p>The answer is correct. Type ctrl+c , it works. I was typing ctrl+x instead. </p>