From: | Matthias Apitz <guru(at)unixarea(dot)de> |
---|---|
To: | pf(at)pfortin(dot)com |
Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: error: connection to server on socket... |
Date: | 2023-08-01 11:57:08 |
Message-ID: | ZMjzFBI2CgfkPrB8@pureos |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
El día martes, agosto 01, 2023 a las 07:28:49 -0400, pf(at)pfortin(dot)com escribió:
> On Tue, 1 Aug 2023 06:22:46 -0400 Amn Ojee Uw wrote:
>
> >"/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory*//*
>
> Like mine, your distro probably uses /tmp/.s.PGSQL.5432
> $ ll /tmp/.s.PGSQL.5432
> srwxrwxrwx 1 postgres postgres 0 Aug 1 06:33 /tmp/.s.PGSQL.5432=
>
This here is on SuSE Linux:
# ls -l /tmp/.*5432
srwxrwxrwx 1 postgres postgres 0 Aug 1 13:39 /tmp/.s.PGSQL.5432
# netstat -an | grep 5432 | grep LIST
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN
tcp6 0 0 :::5432 :::* LISTEN
unix 2 [ ACC ] STREAM LISTENING 22000 /tmp/.s.PGSQL.5432
We normaly use the TCP/IP port 5432 to connect to the server.
matthias
--
Matthias Apitz, ✉ guru(at)unixarea(dot)de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2023-08-01 13:10:57 | Re: error: connection to server on socket... |
Previous Message | pf | 2023-08-01 11:28:49 | Re: error: connection to server on socket... |