Hello Jain On Fri, Feb 5, 2021 at 1:16 PM Jain, Ankit <ankit.j...@snapon.com> wrote:
> Did you try modifying the firewall settings ? > > > > Add postgres service to the firewall. If that doesn’t work, explicitly > open the port 5433 in the firewall. > > > Anyway, given these settings, "psql -p 5433 -h localhost" should > connect. If you still get "connection refused" then you need to > look at the kernel firewall (packet filter) settings. > > > > yes, with "-p 5433" I can connect > > > > It was not necessary to change firewall settings because I was able to connect to the database with the "-p 5433" option and all is fine now thanks