title: Nodejs random free tcp ports
body: <p>My project need to setup a new port every time a new instance of my class is instantiated. </p>
  
  <p>In Node.js how I can find a free TCP port to set in my new socket server? Or check if my specified port is already used or not.</p>