From: | Fritz Meissner <fritz(dot)meissner(at)gmail(dot)com> |
---|---|
To: | Chris Mair <chris(at)1006(dot)org> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Cannot reach pg server using -h localhost |
Date: | 2015-07-21 22:03:45 |
Message-ID: | CAGUYmUZ=RzEmhm640Sw_q4U6aad2dcKTgBQR2JLgXqP-HuFVqQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)1006(dot)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.
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2015-07-21 22:05:07 | Re: Cannot reach pg server using -h localhost |
Previous Message | Joshua D. Drake | 2015-07-21 21:55:17 | Re: Setting up HA postgresql |