Search Postgresql Archives

Re: Connecting to postgres on OSX from Swift using PostgresClientKit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2022-08-01 01:04, Adrian Klaver wrote:
On 7/31/22 16:53, howardnews@xxxxxxxxxxxxx wrote:
On 2022-07-31 23:42, Rob Sargent wrote:
On 7/31/22 16:40, howardnews@xxxxxxxxxxxxx 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?



Here is the error I get in the application.

2022-08-01T00:20:18.530Z Connection-1 finer] Created socket
[2022-08-01T00:20:18.532Z Connection-1 fine] Opening connection to port 5432 on host localhost 2022-08-01 01:20:18.534308+0100 TestPostgres[10654:120173] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:13 Err:-1 Errno:1 Operation not permitted 2022-08-01 01:20:18.535617+0100 TestPostgres[10654:120173] [si_destination_compare] socket(PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) failed: Operation not permitted 2022-08-01 01:20:18.535694+0100 TestPostgres[10654:120173] [si_destination_compare] socket(PF_SYSTEM, SOCK_DGRAM, SYSPROTO_CONTROL) failed: Operation not permitted [2022-08-01T00:20:18.537Z Connection-1 severe] Unable to connect socket: Error code: -9989(0x-2705), Operation not permitted
[2022-08-01T00:20:18.537Z Connection-1 finer] Closing socket





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux