title: Postgres: missing or erroneous pg_hba.conf file
body: <p>I have 2 machines sitting on my desk and connected to the same IP network. I'm trying to connect an application from one machine to the postgres database on the other. 
  At first the host with the application on it was giving me the PSQLException:</p>
  
  <pre><code>FATAL: no pg_hba.conf entry for host "192.168.1.18", user "user1", database "test", SSL off
  </code></pre>
  
  <p>So I edited my pg_hba.conf file to accept the IP address: 192.168.1.18, by adding the line below at the end of the file:</p>
  
  <pre><code>host    pnp         all         192.168.1.18      trust
  </code></pre>
  
  <p>Then I got another type of error message:</p>
  
  <pre><code>FATAL: missing or erroneous pg_hba.conf file
  </code></pre>
  
  <p>Is there anything I'm missing here?</p>
  
  <p>Thanks,
  Lancelot</p>