public inbox for [email protected]  
help / color / mirror / Atom feed
From: Joao De Almeida Pereira <[email protected]>
To: Rahul Soshte <[email protected]>
Cc: [email protected]
Subject: Re: Connection Refused Error
Date: Wed, 21 Mar 2018 19:53:21 +0000
Message-ID: <CAE+jjan_Jt3ki7YNgUb47HBCO6mf0-DN2y_tduAkBF2qan5cNA@mail.gmail.com> (raw)
In-Reply-To: <CAKyzeV1O5KYDFg6Q3qK6=Xfu-bpi51vUxjci07kr1qUbTERvkg@mail.gmail.com>
References: <CAKyzeV1O5KYDFg6Q3qK6=Xfu-bpi51vUxjci07kr1qUbTERvkg@mail.gmail.com>

Hello Rahul,
Did you change the /etc/postgresql/10/main/pg_hba.conf  file configuration
to allow connections? if not take a look at
https://www.thegeekstuff.com/2014/02/enable-remote-postgresql-connection/ this
should guide you but basically you need to change the METHOD to `trust` on
the 127.0.0.1 address and eventually of the ::1 as well.
If that didn't help let us know

Thanks
Joao

On Wed, Mar 21, 2018 at 3:35 PM Rahul Soshte <[email protected]>
wrote:

> I had installed pgadmin4 from git Source repo.The First time I Installed I
> was able to create a Server.But when I restarted my PC.I got this error.
>
> Unable to connect to server:
>
> 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?
>
> I tried Installing everthing Again but got the same error.I also changed
> postgresql.conf file from
> listen_address="localhost"
> to listen_address="*"
> but it still didnt work.
>
> What do I do?
>


view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Connection Refused Error
  In-Reply-To: <CAE+jjan_Jt3ki7YNgUb47HBCO6mf0-DN2y_tduAkBF2qan5cNA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox