Re: Postgres-JDBC question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Myatluk Andrey" <Andrey(dot)Myatluk(at)bercut(dot)ru>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Postgres-JDBC question
Date: 2006-02-01 14:32:15
Message-ID: 29726.1138804335@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Myatluk Andrey" <Andrey(dot)Myatluk(at)bercut(dot)ru> writes:
> On my host if I run netstat I see the following:

> tcp 0 0 0.0.0.0:5432 0.0.0.0:*
> LISTEN 5557/postmaster

> tcp 0 0 :::5432 :::*
> LISTEN 5557/postmaster

> Do those mean that my database must be accessible from the outside? I
> have access from localhost processes, but my attempts to connect to the
> database with pgAdmin failed.

Failed how, exactly? The netstat output shows that the postmaster is
listening for connections from anyplace, so you have listen_addresses
set properly ... but there are at least two other levels where an
attempted connection might be blocked: kernel packet filtering, or the
contents of pg_hba.conf. What error message are you getting *exactly*?

regards, tom lane

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Senden Kris 2006-02-01 15:45:14 Prepared Statement is not parsed correctly
Previous Message Altaf Malik 2006-02-01 14:13:22 getTablePrivillages giving wrong privillages