title: PostgreSQL has two servers running on port 5432, Mac 10.11
body: <p>I know that this is a common issue with a lot of resources online but nothing seems to have worked for myself so far. When I try to start the pg server (I downloaded the postgres.app) I always get the same <code>there is already a PostgreSQL server running on port 5432</code>. I used the command <code>sudo lsof -i 5432</code> and got this as a result:</p>
  <blockquote>
  <p>COMMAND    PID   USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME</p>
  <p>postgres 69175 badman    5u  IPv6 0xfb574d5e65486297      0t0  TCP localhost:postgresql (LISTEN)</p>
  <p>postgres 69175 badman    6u  IPv4 0xfb574d5e68f8fbc7      0t0  TCP localhost:postgresql (LISTEN)</p>
  </blockquote>
  <p>I have tried installing pg multiple times using homebrew, postgres.app and accidentally installed pg Enterprise when I first got my mac. I don't know if multiple downloads of pg from different sources maybe affecting it, despite me trying to uninstall them. How can I fix this so that I'm only using one, preferably the postgres.app installation (as i'm new to coding and it's what I'm used to). Im using Mac v10.11.6</p>