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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Terrence Brannon <blessed(at)sv-luka(dot)org>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: if postmaster is started on a certain port, should I be able to telnet there?
Date: 2002-05-02 02:20:16
Message-ID: 3912.1020306016@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Terrence Brannon <blessed(at)sv-luka(dot)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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Emma 2002-05-02 03:19:40 plpgsql - why it is not available by default ?
Previous Message Terrence Brannon 2002-05-02 00:30:14 if postmaster is started on a certain port, should I be able to telnet there?