Re: Connecting to the database via TCP/IP - Mailing list pgsql-novice

From Andrej Ricnik-Bay
Subject Re: Connecting to the database via TCP/IP
Date
Msg-id b35603930706161825m5275d3f1h7131a37315153d90@mail.gmail.com
Whole thread Raw
In response to Connecting to the database via TCP/IP  (Guillaume Yziquel <guillaume.yziquel@free.fr>)
List pgsql-novice
On 6/17/07, Guillaume Yziquel <guillaume.yziquel@free.fr> wrote:

> > yziquel@seldon:~$ telnet 127.0.0.1 5432
> > Trying 127.0.0.1...
> > Connected to 127.0.0.1.
> > Escape character is '^]'.
>
> It's then waiting for input, but no matter what I type, I get:
>
> > Connection closed by foreign host.
>
> What's going wrong here?
My wild guess would be that psql is smarter than the
dumb telnet ... you'd get similar results from an LDAP
server ...

Try using psql (the tool that's meant for this kind of
activity).

> Guillaume.
-- Cheers,
   Andrej

pgsql-novice by date:

Previous
From: Guillaume Yziquel
Date:
Subject: Connecting to the database via TCP/IP
Next
From: "Shivin M"
Date:
Subject: Correct table size when a using short integer array type.