pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Myatluk Andrey <Andrey.Myatluk@bercut.ru>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Postgres-JDBC question
Date: Wed, 01 Feb 2006 09:32:15 -0500
Message-ID: <29726.1138804335@sss.pgh.pa.us> (raw)
In-Reply-To: <CD481F25862BDF4EB3014619BACB38D8FECA19@master.office.bercut.ru>
References: <CD481F25862BDF4EB3014619BACB38D8FECA19@master.office.bercut.ru>

"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



view thread (7+ messages)  latest in thread

Message-ID: <29726.1138804335@sss.pgh.pa.us>
Permalink:  ../29726.1138804335@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29726.1138804335@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Andrey.Myatluk@bercut.ru
  Subject: Re: Postgres-JDBC question
  In-Reply-To: <29726.1138804335@sss.pgh.pa.us>
  References: <CD481F25862BDF4EB3014619BACB38D8FECA19@master.office.bercut.ru> <29726.1138804335@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox