title: Unable to connect to server pgAdmin
body: <p>I installed PostgreSQL on my Ubuntu virtual machine (ip: 192.168.195.95). Now, I'm trying to access the database from my physical machine Windows  with pgAdmin (ip: 192.168.195.1).</p>
  
  <p>I know I have to make changes in <code>postgresql.conf</code> and <code>pg_hba.conf</code> to allow the client to connect, so I had added this:</p>
  
  <pre><code>listen_addresses = '*'
  </code></pre>
  
  <p>in <code>/etc/postgresql/9.4/main/postgresql.conf</code> and </p>
  
  <pre><code>host      all              all               192.168.195.95/24            md5
  </code></pre>
  
  <p>in <code>/etc/postgresql/9.4/main/pg_hba.conf</code> and I restarted PostgreSQL.</p>
  
  <p>The error information: </p>
  
  <pre><code>Unable to connect to server:
  
  could not connect to server: Connection timed out (0x0000274C/10060)
  Is the server running on host "192.168.195.95" and accepting
  TCP/IP connections on port 5432?
  </code></pre>
  
  <p>Could you please guide me?</p>