title: How to configure DBeaver for Ubuntu, PostgreSQL?
body: <p>I'm new to DB viewers and DBeaver.
  I installed DBeaver on Ubuntu 16.04 to view the DB tables of my project, chose 'PostgreSQL', entered username and password, clicked 'test connection' and got an error: 
  <code>Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.</code>
  How do I configure it to access my project tables?</p>
  
  <p>UPD
  I installed DBeaver under vagrant virtual machine, and managed to connect, but don't see any tables and my project. Why?</p>