Re: Pg 7.3.1 & DBD::Pg 1.21

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Renê Salomão <rene(at)ibiz(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Pg 7.3.1 & DBD::Pg 1.21
Date: 2003-01-24 05:43:39
Message-ID: 10608.1043387019@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

=?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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-01-24 05:54:22 Re: standard schemas for addresses, others?
Previous Message Tom Lane 2003-01-24 05:41:05 Re: Inherited tables and NOT NULL (pg 7.2.1)