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

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: could not connect to server, in order to operate pgAdmin/PostgreSQL
Date: 2018-11-24 06:25:02
Message-ID: b3457a73-fb13-ca92-76c7-7e1f09f6d5ae@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support pgsql-admin pgsql-hackers

On 11/23/2018 08:31 PM, Anne Marie Harm wrote:
> Hello,
>
> Unfortunately I'm unable to operate pgAdmin/PostgreSQL; first of all I can
> only install version 9.5 (tried versions 11, 10, and 9.6 -- but cannot
> install).

How come.  (Are you running a really old distro version?)

> When I launch pgAdmin in order to try to use PostgreSGL 9.5, here is the
> full text of the error message I receive (also, screenshot attached):
>
> could not connect to server: Connection refused (0x0000274D/10061) Is the
> server running on host "localhost" (::1) and accepting TCP/IP connections
> on port 5432? could not connect to server: Connection refused
> (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1)
> and accepting TCP/IP connections on port 5432?

Well, *is* Postgres running?  You installed Pg but did you start it?  These
two commands will tell you:

pg_ctl status # when logged in as user postgres
sudo netstat -an | grep 5432

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Ricardo Martin Gomez 2018-11-24 12:16:10 Re: could not connect to server, in order to operate pgAdmin/PostgreSQL
Previous Message Anne Marie Harm 2018-11-24 02:31:23 could not connect to server, in order to operate pgAdmin/PostgreSQL

Browse pgsql-admin by date

  From Date Subject
Next Message Rohit Arora 2018-11-24 10:59:08 canceling statement coming in slave instance
Previous Message Anne Marie Harm 2018-11-24 02:31:23 could not connect to server, in order to operate pgAdmin/PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-11-24 07:45:38 Re: [HACKERS] pgbench - allow to store select results into variables
Previous Message Edmund Horner 2018-11-24 05:20:25 Re: Tid scan improvements