Skip site navigation (1) Skip section navigation (2)

Re: Connecting to the database via TCP/IP

From: "Andrej Ricnik-Bay" <andrej(dot)groups(at)gmail(dot)com>
To: guillaume(dot)yziquel(at)free(dot)fr
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Connecting to the database via TCP/IP
Date: 2007-06-17 01:25:02
Message-ID: b35603930706161825m5275d3f1h7131a37315153d90@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
On 6/17/07, Guillaume Yziquel <guillaume(dot)yziquel(at)free(dot)fr> wrote:

> > yziquel(at)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

In response to

pgsql-novice by date

Next:From: Shivin MDate: 2007-06-18 05:52:40
Subject: Correct table size when a using short integer array type.
Previous:From: Guillaume YziquelDate: 2007-06-16 23:28:41
Subject: Connecting to the database via TCP/IP

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group