Re: Cannot reach pg server using -h localhost - Mailing list pgsql-general

From Chris Mair
Subject Re: Cannot reach pg server using -h localhost
Date
Msg-id d87691b8d3db3dfe5654f037dfb93f44@smtp.hushmail.com
Whole thread Raw
In response to Re: Cannot reach pg server using -h localhost  (Fritz Meissner <fritz.meissner@gmail.com>)
Responses Re: Cannot reach pg server using -h localhost  (Fritz Meissner <fritz.meissner@gmail.com>)
List 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.




pgsql-general by date:

Previous
From: Fritz Meissner
Date:
Subject: Re: Cannot reach pg server using -h localhost
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Setting up HA postgresql