title: Docker Error - 5432: bind: address already in use
body: <p>I used to be able to run docker-compose using 5432:5432 port mapping, but am recently getting this error: </p>
  
  <pre><code>Error starting userland proxy: listen tcp 0.0.0.0:5432: bind: address already in use
  </code></pre>
  
  <p>I've gone through all of the older posts relating to this issue but have yet to be able to solve this. </p>
  
  <p>I've been driving myself mad with this error for the past week trying to figure out how to stop whatever process is running with no avail. </p>
  
  <p>I've tried running </p>
  
  <pre><code>lsof -i tcp:5432
  </code></pre>
  
  <p>which returns no results (as long as my pgadmin/server is not running)</p>
  
  <p>I've also seen other posts mention running </p>
  
  <pre><code>netstat -anp tcp | grep 5432
  </code></pre>
  
  <p>which <em>does</em> return two lines:</p>
  
  <pre><code>tcp4       0      0  *.5432                 *.*                    LISTEN     
  tcp6       0      0  *.5432                 *.*                    LISTEN 
  </code></pre>
  
  <p>But I'm not entirely sure what to do with that output?</p>