Hi all,
after a crash of my machine I restarted the pgsql as usual, and I can connect
from the machine itself, but no more from a remote host. I checked the
pg_hba.conf file and it's ok, but either from psql or pgadmin I cannot
connect to the host. Nmapping my host I cannot see the daemon listening on
the port 5342.
I've started the daemon as:
postmaster -D /mnt/data/database &
and my pg_hba.conf gile contains:
local all all trust
# IPv4-style local connections:
host all all 127.0.0.1 255.255.255.255 trust
host all all 192.168.1.0 255.255.255.0 trust
host all all 192.168.2.0 255.255.255.0 trust
# IPv6-style local connections:
host all all ::1
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust
Any suggestion?
Thanks,
Luca