Re: Postgres-JDBC question
| От | Tom Lane |
|---|---|
| Тема | Re: Postgres-JDBC question |
| Дата | |
| Msg-id | 29726.1138804335@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Postgres-JDBC question ("Myatluk Andrey" <Andrey.Myatluk@bercut.ru>) |
| Ответы |
Re: Postgres-JDBC question
|
| Список | 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 по дате отправления: