我是 DB 查看器和 DBeaver 的新手。我在 Ubuntu 16.04 上安装 DBeaver 来查看我的项目的数据库表,选择“PostgreSQL”,输入用户名和密码,点击“测试连接”并出现错误:
Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
如何配置它以访问我的项目表?
UPD 我在 vagrant 虚拟机下安装了 DBeaver,并设法连接,但没有看到任何表和我的项目。为什么?