Re: Cannot reach pg server using -h localhost

From: Chris Mair <chris(at)1006(dot)org>
To: Fritz Meissner <fritz(dot)meissner(at)gmail(dot)com>, Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cannot reach pg server using -h localhost
Date: 2015-07-21 21:05:58
Message-ID: d87691b8d3db3dfe5654f037dfb93f44@smtp.hushmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2015-07-21 21:12:36 Re: Setting up HA postgresql
Previous Message Fritz Meissner 2015-07-21 20:58:21 Re: Cannot reach pg server using -h localhost