Re: Connecting to postgres on OSX from Swift using PostgresClientKit

From: howardnews(at)selestial(dot)com
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Rob Sargent <robjsargent(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Connecting to postgres on OSX from Swift using PostgresClientKit
Date: 2022-08-01 00:30:35
Message-ID: a25dc5d1ccbad8d492532e382700f24a@selestial.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2022-08-01 01:04, Adrian Klaver wrote:
> On 7/31/22 16:53, howardnews(at)selestial(dot)com wrote:
>> On 2022-07-31 23:42, Rob Sargent wrote:
>>> On 7/31/22 16:40, howardnews(at)selestial(dot)com wrote:
>>>
>>>> Hi,
>>>>
>>>> Wondered if anyone had experience connection to pg14.1 running on
>>>> OSX using the swift library PostgresClientKit.
>>>>
>>>> I am having difficulties connecting and hopefully someone can put me
>>>> on the right track.
>
>>>>
>>>> Thanks
>>>>
>>>> Howard Cole
>>>> Selestial.com
>>>  Maybe add config.host = "localhost"?
>> Thanks, tried localhost, 127.0.0.1 and ::128. No joy
>
> What error do you get in the above cases?
>
>>
>>

When using 127.0.0.1...

2022-08-01T00:29:19.319Z Connection-1 finer] Created socket
[2022-08-01T00:29:19.322Z Connection-1 fine] Opening connection to port
5432 on host 127.0.0.1
[2022-08-01T00:29:19.324Z Connection-1 severe] Unable to connect socket:
Error code: -9989(0x-2705), Operation not permitted
[2022-08-01T00:29:19.324Z Connection-1 finer] Closing socket

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron 2022-08-01 02:38:52 Re: Connecting to postgres on OSX from Swift using PostgresClientKit
Previous Message howardnews 2022-08-01 00:27:09 Re: Connecting to postgres on OSX from Swift using PostgresClientKit