pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@killerbytes.com>
To: Alex Christian <alexchristian1198@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python
Date: Sat, 27 Aug 2022 12:50:10 -0600
Message-ID: <7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.com> (raw)
In-Reply-To: <CAG+wmOghi3Y02fUxeGURbBmh5kjvGgvyhKe08EZCgnqHZeCyqw@mail.gmail.com>
References: <CAG+wmOghi3Y02fUxeGURbBmh5kjvGgvyhKe08EZCgnqHZeCyqw@mail.gmail.com>

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@elevated-dev.com
https://www.linkedin.com/in/scottribe/



> On Aug 27, 2022, at 11:02 AM, Alex Christian <alexchristian1198@gmail.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>






view thread (19+ messages)  latest in thread

Message-ID: <7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.com>
Permalink:  ../7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.com/
Also on:    postgresql.org/message-id/7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@killerbytes.com, alexchristian1198@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: could not connect to server, in order to operate pgAdmin/PostgreSQL via python
  In-Reply-To: <7B892B75-175A-4A1A-897E-5A7671E594BE@killerbytes.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