title: Postgresql localhost connection - Connection refused
body: <p>i just installed pgadmin iii and try to connect server.</p>
  
  <p>I configured my setting</p>
  
  <pre><code>name:localhost
  host: 127.0.0.1
  port:5432
  
  username:postgres
  </code></pre>
  
  <p>but i always get this error </p>
  
  <blockquote>
    <p>The server doesn't accept connection: the connection library reports
    **could not connect to server : Connection refused Is server runing on host "127.0.0.1" and accepting TCP/IP connections on port 5432?</p>
  </blockquote>
  
  <p>However, i'm runing django and python on 127.0.0.1 What's missing?</p>
  
  <p>There's also a problem with mysql.  I could not connect with them</p>