Kong with YugabyteDB as database

YugabyteDB is a distributed SQL database that is fully PostgreSQL-compatible.

I have been trying to use it with Kong but always ran into the following connection error

Error: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: connection refused

Other postgres clients do not have this issue and work fine.