Re: Postgres-JDBC question - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Postgres-JDBC question
Date
Msg-id 29726.1138804335@sss.pgh.pa.us
Whole thread Raw
In response to Re: Postgres-JDBC question  ("Myatluk Andrey" <Andrey.Myatluk@bercut.ru>)
Responses Re: Postgres-JDBC question  (Takeichi Kanzaki Cabrera <tkanzakic@gmail.com>)
List pgsql-jdbc
"Myatluk Andrey" <Andrey.Myatluk@bercut.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

pgsql-jdbc by date:

Previous
From: Altaf Malik
Date:
Subject: getTablePrivillages giving wrong privillages
Next
From: Papp Márton
Date:
Subject: timestamp parameter is null