title: Why HTTP ports stay open when using them by Nodejs servers?
body: <p>I have a problem when launching a Nodejs script that listens in one of the HTTP ports. Sometimes, even if I stop the script, the used HTTP port stays &quot;in use&quot;, making it impossible to use it another time. Today, i've set up NGINX in my linux and all the HTTP ports were &quot;in use&quot;. I was obliged to restart  my computer to solve the problem.</p>
  <p>I wanted to know why is this happening ? What can i do to prevent it ? and in case an HTTP port stays &quot;in use&quot;, how can i close it to be able to use again ?</p>
  <p>Thanks for your help.</p>