Connecting to the database via TCP/IP

Поиск
Список
Период
Сортировка
От Guillaume Yziquel
Тема Connecting to the database via TCP/IP
Дата
Msg-id 46747229.7040401@free.fr
обсуждение исходный текст
Ответы Re: Connecting to the database via TCP/IP  ("Andrej Ricnik-Bay" <andrej.groups@gmail.com>)
Список pgsql-novice
Hello all.

I'm using postgresql 7.4 on debian etch. I'm trying to get my database
working over TCP/IP connection.

I therefore have set

> tcpip_socket=true

in my /etc/postgresql/7.4/main/postgresql.conf file, but I cannot seem
to connect via TCP/IP.

I also get:

> 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?

Guillaume.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Stuck (again) trying to move a 7.x app and database to 8.2
Следующее
От: "Andrej Ricnik-Bay"
Дата:
Сообщение: Re: Connecting to the database via TCP/IP