Re: IPV6 issue

Поиск
Список
Период
Сортировка
От Atul Kumar
Тема Re: IPV6 issue
Дата
Msg-id CA+ONtZ7872aX=tioOpNkGUEjcJJ4HX=E7KFLTsxc1=aEF1YMRA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: IPV6 issue  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
listen_address is set to '*', 
version=  psql (12.15, server 12.15.19) 


Regards.

On Tue, Nov 28, 2023 at 2:01 AM Adrian Klaver <adrian.klaver@aklaver.com> wrote:
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.klaver@aklaver.com

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: malloc errors in psql with libpq 16.1 on Mac
Следующее
От: Atul Kumar
Дата:
Сообщение: Re: IPV6 issue