=?ISO-8859-1?Q?Ren=EA_Salom=E3o?= <rene(at)ibiz(dot)com(dot)br> writes:
> DBI connect('dbname=slave;host=164.35.10.17;port=5432','username=pgsql',...) failed: could not connect to server: Connection refused at pg_connect.pl line 16
"Connection refused" is not a postmaster message, it's a kernel-level
message. The implication is that there's nothing at all listening on
the port you tried to connect to. My guess is that the postmaster
isn't really running, or that you forgot to give it the -i option to
listen on TCP.
regards, tom lane