Cannot connect on PostgreSQL From remote

30 views Asked by At

I installed postgresql on my ubuntu 23.04 hosted on OVH, and I want to configure it to be accessible from remote.

This is my postgresql.conf postgresql.conf

And this is my pg_hba.conf pg_hba.conf

And here are all of the ports allowed (I used ufw status)ufw status

When I try to connect with pgAdmin I received Unable to connect to server: connection timeout expired.

When I use telnet to reach to the 5432 too, I received this error : Unable to open a connection to the host, on port 5432: Connection failed

I don't know what I did wrong

0

There are 0 answers