title: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "180.234.124.218" , user "bcudchiocfkzuf", database "de6l7io3liaupc", SSL off
body: <p>I am hosting a laravel project on heroku for the first time. I've installed laravel and postgres successfully on heroku and it's run on the server. But when I ran the <code>php artisan migrate</code> command for the remote database it throws an error, which is;</p>
  
  <pre><code>[PDOException]
  SQLSTATE[08006] [7] FATAL:  no pg_hba.conf entry for host "180.234.124.218", user "bcudchiocfkzuf", database "de6l7io3liaupc", SSL off
  </code></pre>
  
  <p>Then I added to the pg_hba.conf file <code>host all all 0.0.0.0/0 md5</code> (add this line at the bottom of the file), but it still shows the error again.</p>