Page 1 of 1

Failed to open database connection when setting up postgreSQ

PostPosted: Thu Feb 04, 2021 5:43 pm
by ashleyhayes
Screen Shot 2021-02-04 at 11.25.40 AM.png
Screen Shot 2021-02-04 at 11.25.40 AM.png (153.91 KiB) Viewed 511 times


Hi so I'm trying ot create a new database using the postgreSQL but I getting this error message:

Failed to open database connection: could not connect
to server: Connection refused Is the server
running on host "127.0.0.1" and accepting TCP/IP
connections on port 5432? QPSQL: Unable to connect.

Re: Failed to open database connection when setting up postg

PostPosted: Sun Feb 07, 2021 6:15 pm
by lankynibbs
127.0.0.1 implies you are trying to connect to a local postgresql instance. Do you have postgresql server running on the same machine?