Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Alex Christian <alexchristian1198(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python
Date: 2022-08-27 18:50:10
Message-ID: 7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Are you actually running PG on port 5433 instead of 5432?

Is PG actually listening on 127.0.0.1 (or *)?

--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
https://www.linkedin.com/in/scottribe/

> On Aug 27, 2022, at 11:02 AM, Alex Christian <alexchristian1198(at)gmail(dot)com> wrote:
>
> Hello,
>
> I am trying to connect to postgresql using python on windows, but it throws an error message. Below I am sharing the code and error. Can you please help me out on this issue?
> Thank you
>
> <2.png><1.png>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message kaido vaikla 2022-08-27 20:31:18 Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python
Previous Message Paul Smith 2022-08-27 18:42:50 Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python