Re: if postmaster is started on a certain port, should I be able to telnet there? - Mailing list pgsql-novice

From Tom Lane
Subject Re: if postmaster is started on a certain port, should I be able to telnet there?
Date
Msg-id 3912.1020306016@sss.pgh.pa.us
Whole thread Raw
In response to if postmaster is started on a certain port, should I be able to telnet there?  (Terrence Brannon <blessed@sv-luka.org>)
List 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 by date:

Previous
From: Terrence Brannon
Date:
Subject: if postmaster is started on a certain port, should I be able to telnet there?
Next
From: Manfred Koizar
Date:
Subject: Trying to reduce per tuple overhead