I'm running PostgreSQL database in Docker and thanks to you I'm running Liquibase tool in Docker. But I'm not able to connect them. Could you help?
I've done near 10 attempts and I always get one of the following errors:
Liquibase updateSQL Failed: liquibase.exception.DatabaseException: Connection could not be created to jdbc:postgresql://host:port/db with driver org.postgresql.Driver. Possibly the wrong driver for the given database URL
Liquibase updateSQL Failed: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Liquibase updateSQL Failed: org.postgresql.util.PSQLException: The connection attempt failed.
I'm running PostgreSQL database in Docker and thanks to you I'm running Liquibase tool in Docker. But I'm not able to connect them. Could you help?
I've done near 10 attempts and I always get one of the following errors: