Re: Cannot reach pg server using -h localhost
От | Fritz Meissner |
---|---|
Тема | Re: Cannot reach pg server using -h localhost |
Дата | |
Msg-id | CAGUYmUZ=RzEmhm640Sw_q4U6aad2dcKTgBQR2JLgXqP-HuFVqQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Cannot reach pg server using -h localhost (Chris Mair <chris@1006.org>) |
Ответы |
Re: Cannot reach pg server using -h localhost
|
Список | pgsql-general |
This is interesting, I tried nc a few times. Inconsistent results: - most of the time the first line doesn't get through, even after a long wait - on sending a second line from the client both lines appear instantly, and it's 100% from there on - or I can send a line from the server. The first line from client is still lost but both ends are 100% after that - 1/10 "sessions" behave perfectly BTW ^D just ends the session without sending anything, I'm hitting enter to send instead. On Tue, Jul 21, 2015 at 11:05 PM, Chris Mair <chris@1006.org> wrote: > Hi, > > just to be 100% sure everything works upt to the TCP layer... > > 0. Stop postgres. > > 1. Open a terminal, enter: > > nc -l 5432 > > and leave that running. > > 2. Open another terminal and enter: > > nc 127.0.0.1 5432 > > follow up with some text such as "hello" and then hit CTRL-D > > So... did "hello" show up in the first Terminal or not? (it should) > > Bye, > Chris. > >
В списке pgsql-general по дате отправления: