Re: IPV6 issue

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Atul Kumar <akumar14871(at)gmail(dot)com>, Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: IPV6 issue
Date: 2023-11-27 20:31:07
Message-ID: d6cdfb91-caf2-4f98-9d82-5019f5262ff5@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/27/23 12:11, Atul Kumar wrote:
> Hi,
>
> I found that localhost was set to .bash_profile and when I removed it
> and then re-attempted to connected the database using "psql postgres", I
> got this new error:
>
> psql postgres -p 5432
> psql: error: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket
> "/var/run/postgresql/.s.PGSQL.5432"?
>
> So DO I need to restart the postgres service or is there any other
> workaround?
>
>

In postgresql.conf or any include *.conf it points to does

port = 5432

and what is

listen_addresses

set to?

How did you install Postgres?

Do you have more then one version of psql installed?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-11-27 20:41:50 Re: IPV6 issue
Previous Message Atul Kumar 2023-11-27 20:11:43 Re: IPV6 issue