Pablo Velasquez Rivas <pvelasquez@its.co.cr> writes:
> Or maybe a firewall is dropping the connections.
If the connection is passing through a firewall that does address
translations (NAT), then this is a very likely possibility. The
firewall may drop its table entry for the connection address mapping
after some idle time.
regards, tom lane