Postgresql install and config task

Hi i am getting an error after restarting the postgresql service after doing required changes in the configuration.

Please support me on this , i think this error is related to docker config which is out of scope of this task. please correct me if i wrong.

Thanks in advance.

Hello @drflex007

Check that your postgresql.conf file has the listen_addresses item uncommented and set to listen to all ports, i.e. listen_addresses = '*' ;

Configuration path: /var/lib/postgresql/data/postgresql.conf

Thanks,
KodeKloud Support

Hi @Ayman i am still getting the same error , I did the same thing and search the different places i have found that error is related to docker container. please help me out if i am wrong.
i also posted the for review, i am hoping i will get right answer over there.

Thanks in advance.

please check if there is another postgress working or not by using ps command.
and kill this process if it exists.