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:
Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
How do I configure it to access my project tables?
UPD I installed DBeaver under vagrant virtual machine, and managed to connect, but don't see any tables and my project. Why?