I have Azure VM with PostgreSql on it, and I can't connect to it.
I opened a port for TCP in my VM networking in the Azure portal. port
I have installed PostgreSQL on my VM.
listen_addresses = '*' was already set in postgresql.conf
At the end of pg_hba, I added this:
host all all 0.0.0.0/0 md5
host all all ::/0 md5
additionally, I can access the PostgreSQL server in my VM (as localhost), and I restarted the service a few times.
as a result, I still can't connect to it from my (no VM) PC. I try it like this.
What did I miss?