Thank you David!

I've exported PGPORT variable and restarted Keter.  Now everything works!