I can't establish a connection to PostgreSQL with Dbeaver

Hi,

If you’re connecting to a Postgres DB from outside Render, this is covered in the docs here: https://render.com/docs/databases#connecting-from-outside-render

Which shows the breakdown of the credentials in the “External Database URL” shown on the DB dashboard:

postgres://USER:PASSWORD@EXTERNAL_HOST:PORT/DATABASE

Database = DATABASE
Server/Host = EXTERNAL_HOST
User Name = USER
Port = 5432 (Postgres default)
Password = PASSWORD

You likely also need to set:
SSL Mode = “require”

You’d need to plug these details into DBeaver where appropriate.

Finally, ensure the Access Control settings on the database are valid.

Alan