Re: error: connection to server on socket... - Mailing list pgsql-general

From Matthias Apitz
Subject Re: error: connection to server on socket...
Date
Msg-id ZMjzFBI2CgfkPrB8@pureos
Whole thread Raw
In response to Re: error: connection to server on socket...  (pf@pfortin.com)
List pgsql-general
El día martes, agosto 01, 2023 a las 07:28:49 -0400, pf@pfortin.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@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub



pgsql-general by date:

Previous
From: pf@pfortin.com
Date:
Subject: Re: error: connection to server on socket...
Next
From: Tom Lane
Date:
Subject: Re: error: connection to server on socket...