Search Postgresql Archives

Re: Cannot reach pg server using -h localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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.
>
>


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux