"datactrl" <quals@bigfoot.com> writes:
> I use a win32 psql to connect to a linux box. It will take about 20 seconds
> to connect to postgres server while linux and my PC are in a LAN.
A first guess is that there's something broken about your DNS setup,
and that you're suffering a DNS lookup timeout before anything actually
happens.
regards, tom lane