Hi,
Actually, port 5421 is open for localhost but not on eth0. What puzzles me is why psql is resolving localhost to 192.168.1.103 when nc is rightfully resolving it to
127.0.0.1:
$ nc -vz localhost 5421
localhost [127.0.0.1] 5421 (?) open
$ nc -vnz 192.168.1.103 5421
(UNKNOWN) [192.168.1.103] 5421 (?) : Connection refused
$ psql --host localhost --port 5421
psql: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5421?
FATAL: no pg_hba.conf entry for host "192.168.1.103", user "santiago", database "santiago"
$ psql --host 127.0.0.1 --port 5421
psql: FATAL: no pg_hba.conf entry for host "192.168.1.103", user "santiago", database "santiago"