pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: howardnews@selestial.com
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Connecting to postgres on OSX from Swift using PostgresClientKit
Date: Mon, 01 Aug 2022 01:30:35 +0100
Message-ID: <a25dc5d1ccbad8d492532e382700f24a@selestial.com> (raw)
In-Reply-To: <74020545-e16c-8880-bacd-f1c98557d937@aklaver.com>
References: <ee4efe672cd7b7909c68caf8a82c3ba9@selestial.com>
<8b3c9c27-3a13-1a45-b3de-a995a4cbbf19@gmail.com>
<55172d40109beb0daee6ad81a97352fe@selestial.com>
<74020545-e16c-8880-bacd-f1c98557d937@aklaver.com>
On 2022-08-01 01:04, Adrian Klaver wrote:
> On 7/31/22 16:53, howardnews@selestial.com wrote:
>> On 2022-07-31 23:42, Rob Sargent wrote:
>>> On 7/31/22 16:40, howardnews@selestial.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
view thread (11+ messages) latest in thread
Message-ID: <a25dc5d1ccbad8d492532e382700f24a@selestial.com> Permalink: ../a25dc5d1ccbad8d492532e382700f24a@selestial.com/ Also on: postgresql.org/message-id/a25dc5d1ccbad8d492532e382700f24a@selestial.com ·
reply
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Reply to all the recipients from your mail client; the link fills in the headers below: reply via email Some clients, webmail especially, drop In-Reply-To and References from a link, and the reply then starts a new thread: use the mbox below. To: pgsql-general@postgresql.org Cc: howardnews@selestial.com, adrian.klaver@aklaver.com, robjsargent@gmail.com Subject: Re: Connecting to postgres on OSX from Swift using PostgresClientKit In-Reply-To: <a25dc5d1ccbad8d492532e382700f24a@selestial.com> References: <ee4efe672cd7b7909c68caf8a82c3ba9@selestial.com> <8b3c9c27-3a13-1a45-b3de-a995a4cbbf19@gmail.com> <55172d40109beb0daee6ad81a97352fe@selestial.com> <74020545-e16c-8880-bacd-f1c98557d937@aklaver.com> <a25dc5d1ccbad8d492532e382700f24a@selestial.com> * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox