title: FATAL: no pg_hba.conf entry for host "fe80::1%lo0"
body: <p>Can someone help me why this is happening when I'm trying to connect to database or <code>rails s</code>?</p>
  
  <p>In my pg_hba.conf file I have this:</p>
  
  <pre><code># TYPE  DATABASE        USER            ADDRESS                 METHOD
  # "local" is for Unix domain socket connections only
  local   all             all                                     trust
  # IPv4 local connections:
  host    all             all             127.0.0.1/32            trust
  # IPv6 local connections:
  host    all             all             ::1/128                 trust
  # Allow replication connections from localhost, by a user with the
  # replication privilege.
  #local   replication     Andrew                                trust
  #host    replication     Andrew        127.0.0.1/32            trust
  #host    replication     Andrew        ::1/128                 trust
  
  local all all md5
  </code></pre>
  
  <p>Maybe I'm doing it wrong?</p>
  
  <p>Thanks</p>