Re: Remote / network connection fails

Поиск
Список
Период
Сортировка
Искать
От
Andrej Ricnik-Bay
Тема
Re: Remote / network connection fails
Дата
Msg-id
b35603930804181256x66425316x97be7ba08cb67468@mail.gmail.com
Ответ на
Список
Дерево обсуждения
Remote / network connection fails Nils Zierath <nils.zierath@uni-bonn.de>
Re: Remote / network connection fails "Andrej Ricnik-Bay" <andrej.groups@gmail.com>
Re: Remote / network connection fails Nils Zierath <nils.zierath@uni-bonn.de>
Re: Remote / network connection fails "Andrej Ricnik-Bay" <andrej.groups@gmail.com>
Re: Remote / network connection fails Nils Zierath <nils.zierath@uni-bonn.de>
Re: Remote / network connection fails Tom Lane <tgl@sss.pgh.pa.us>
Re: Remote / network connection fails Nils Zierath <nils.zierath@uni-bonn.de>
Re: Remote / network connection fails "Andrej Ricnik-Bay" <andrej.groups@gmail.com>
Re: Remote / network connection fails Nils Zierath <nils.zierath@uni-bonn.de>
On 18/04/2008, Nils Zierath  wrote:

>  I tried 'netstat -anp' while being logged into my server via ssh:
>  ..
>  unix  2  [ ACC ]  STREAM  LISTENING  317212  2992/postgres
> /var/run/postgresql/.s.PGSQL.5432
>  ..

>  So that looks alright?

No, it doesn't.  That's the local socket, it's not listening on
any network interface. You'd expect something more like this:

netstat -anp|grep postgr
tcp        0      0 0.0.0.0:5432            0.0.0.0:*
LISTEN     5233/postgres
tcp6       0      0 :::5432                 :::*
LISTEN     5233/postgres
udp        0      0 127.0.0.1:32769         127.0.0.1:32769
ESTABLISHED5233/postgres
unix  2      [ ACC ]     STREAM     LISTENING     18729
5233/postgres       /var/run/postgresql/.s.PGSQL.5432


>  What else could I try?

Not quite sure what's going wrong there.  Have you got
more than one version of postgres installed?

>  Cheers,
>  nilson
Cheers,
Andrej


-- 
Please don't top post, and don't use HTML e-Mail :}  Make your quotes concise.

http://www.american.edu/econ/notes/htmlmail.htm
В списке pgsql-novice по дате отправления
От: Tom Lane
Дата:
От: Mija Lee
Дата:
FAQ