RE: Remote Connection Help - Mailing list pgsql-general

From Jason L. Amerson
Subject RE: Remote Connection Help
Date
Msg-id !&!AAAAAAAAAAAuAAAAAAAAAGmIF169jV1Ig2e+e0GOo/YBAMO2jhD3dRHOtM0AqgC7tuYAAAAAAA4AABAAAADH6xNrnVQMR6aE7Tn5sFBQAQAAAAA=@alphagenius.org
Whole thread Raw
In response to Re: Remote Connection Help  (Andrew Kerber <andrew.kerber@gmail.com>)
List pgsql-general

I have attached a screenshot of my hosts file. My static IP is not listed in the file. The second line where it has “thuban”, Thuban is my machine’s name.

 

Jason L. Amerson

 

 

From: Andrew Kerber <andrew.kerber@gmail.com>
Sent: Thursday, November 21, 2019 03:17 PM
To: Jason L. Amerson <drjason@alphagenius.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>; Steve Crawford <scrawford@pinpointresearch.com>; Adrian Klaver <adrian.klaver@aklaver.com>; PostgreSQL <pgsql-general@lists.postgresql.org>
Subject: Re: Remote Connection Help

 

Is your hosts file configured correctly?  Is there an entry for the IP address you are using in your hosts file? And does it point to the correct hostname and ip address?

 

On Thu, Nov 21, 2019 at 2:07 PM Jason L. Amerson <drjason@alphagenius.org> wrote:

pg_settings show localhost.

Jason L. Amerson


-----Original Message-----
From: Tom Lane <tgl@sss.pgh.pa.us>
Sent: Thursday, November 21, 2019 02:42 PM
To: Jason L. Amerson <drjason@alphagenius.org>
Cc: 'Steve Crawford' <scrawford@pinpointresearch.com>; 'Adrian Klaver'
<adrian.klaver@aklaver.com>; 'PostgreSQL'
<pgsql-general@lists.postgresql.org>
Subject: Re: Remote Connection Help

"Jason L. Amerson" <drjason@alphagenius.org> writes:
> Yes "listen_addresses" is not commented. I did notice when I did the
netstat, for tcp, it was all "127.0.0.1" on various ports including 5432 but
I have a listing for tcp6 that has my static IP using port 32305. Would that
make a difference?

Hm, well, *something* is overriding the setting.  What did you find in
pg_settings?

                        regards, tom lane






--

Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.'

Attachment

pgsql-general by date:

Previous
From: Michael Korbakov
Date:
Subject: Re: Adding LIMIT changes PostgreSQL plan from good to a bad one
Next
From: "Jason L. Amerson"
Date:
Subject: RE: Remote Connection Help