title: How to find out which Port number a process is using
body: <p>I want to be able to find out which port number a process is and filtering the results using a keyword.</p>
  
  <p>For example, I may want to quickly find out which port numbers are being used by "node" js apps. </p>
  
  <p>This did not work:</p>
  
  <pre><code>netstat tulnap | grep "node"
  </code></pre>
  
  <p>This did not return the port numbers:</p>
  
  <pre><code>ps aux | grep node
  </code></pre>