Hello
Team im configured server remotely
I installed confluence and postgres , when i try to connect my database to postgres , for the simple way , when i hit test connection : it looks succeded as picture describe below :

But when i hit next to finish the configuration , it takes a while and i get this error :
psql: FATAL: authentification Ident échouée pour l'utilisateur « postgres »
By connection string , the test failed :

I see that i have to change the pg_hba.conf and i did it : Here i my file :
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 ident
host all all 0.0.0.0/0 md5
# IPv6 local connections:
host all all ::1/128 ident
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 ident
#host replication postgres ::1/128 ident
host all all 0.0.0.0/0 md5
host all all ::/0 md5
Note : im configured my server remotly .
Please i need your help .
Thank you very much for your response .
Regards
Karim