Re: if postmaster is started on a certain port, should I be able to telnet there?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: if postmaster is started on a certain port, should I be able to telnet there?
Дата
Msg-id 3912.1020306016@sss.pgh.pa.us
обсуждение исходный текст
Ответ на if postmaster is started on a certain port, should I be able to telnet there?  (Terrence Brannon <blessed@sv-luka.org>)
Список pgsql-novice
Terrence Brannon <blessed@sv-luka.org> writes:
> I started postmaster via:
>   ./bin/postmaster -D data -p 7000 &
> but why is a telnet localhost 7000
> result in a refused connection even though
>   ./bin/psql -p 7000 test postgres
> works?

You forgot -i, so only Unix-socket connections will be accepted.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Terrence Brannon
Дата:
Сообщение: if postmaster is started on a certain port, should I be able to telnet there?
Следующее
От: Manfred Koizar
Дата:
Сообщение: Trying to reduce per tuple overhead