title: Connect to a remote PostgreSQL database Windows
body: <p>I'm new at this and I got a job where I need to connect to a PostgreSQL database, they told me to use this command: </p>
  
  <pre><code>psql -h remote_ip -p 54320 -U user -d database
  </code></pre>
  
  <p>I'm trying to connect with Navicat but this error occurs:</p>
  
  <pre><code>psql: FATAL:  no pg_hba.conf entry for host "18.221.220.67", user "pse", database "pse", SSL off
  </code></pre>