"dailiming" <ldai@accunettech.com> writes:
> Yes, I have already set the two Ip address in the pg_hba.conf file .
> But It do nothing.
No, what you need is to put in the addresses or address ranges of all
the machines that will connect through either net card. (And don't
forget to SIGHUP the postmaster after you change its config file.)
The fact that there are multiple net cards doesn't matter at all;
Postgres should bind to its port number on each of the machine's IP
addresses, automatically.
regards, tom lane