Re: Force ssl connection

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Muhammad Bashir Al-Noimi <mbnoimi(at)gmail(dot)com>
Cc: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Force ssl connection
Date: 2013-07-10 16:58:24
Message-ID: CAMkU=1y1pUtCCS5gJLOJ06_Es0g+TkhfTPOy7ToYe1F45YS7wQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Jul 10, 2013 at 3:04 AM, Muhammad Bashir Al-Noimi
<mbnoimi(at)gmail(dot)com> wrote:
> On Tue, Jul 9, 2013 at 11:21 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>> From your original email:
>> db.setHostName("localhost");
>>
>> So localhost is probably matching "127.0.0.1/32" or "::1/128", which
>> are explicitly allowed.
>
> I'm using this and still able to connect without SSL
>
> db.setHostName("192.168.0.74");

But that is just another spelling for 127.0.0.1, correct?

Cheers,

Jeff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Kevin Grittner 2013-07-10 17:21:51 Re: function with unknown params
Previous Message Giuseppe Broccolo 2013-07-10 15:50:07 Re: Removing duplicates