Quantcast
Viewing all articles
Browse latest Browse all 5986

Cannot connect on PostgreSQL From remote

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.confImage may be NSFW.
Clik here to view.
postgresql.conf

And this is my pg_hba.confImage may be NSFW.
Clik here to view.
pg_hba.conf

And here are all of the ports allowed (I used ufw status)Image may be NSFW.
Clik here to view.
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


Viewing all articles
Browse latest Browse all 5986

Trending Articles