Can't connect to PostgreSQL server from AKS

Viewed 25

I've created an AKS cluster and Flexible PostgreSQL database.

The postgresql database is public, and I made firewall entry while setting up the DB to allow local connection from my IP - which worked fine.

When I then tried to connect from AKS, I was unable to - I was getting timeouts.

Eventually, I clicked the setting to allow access from everywhere on azure enter image description here

That fixed the timeouts, and I can now connect, but I get a new error: no pg_hba.conf entry for host "**.**.***.203"

What am I doing wrong?

0 Answers
Related