pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthias Apitz <guru@unixarea.de>
To: pf@pfortin.com
Cc: pgsql-general@lists.postgresql.org
Subject: Re: error: connection to server on socket...
Date: Tue, 1 Aug 2023 13:57:08 +0200
Message-ID: <ZMjzFBI2CgfkPrB8@pureos> (raw)
In-Reply-To: <20230801072849.2faa25f1.pfortin@pfortin.com>
References: <97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com>
	<20230801072849.2faa25f1.pfortin@pfortin.com>

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





view thread (10+ messages)  latest in thread

Message-ID: <ZMjzFBI2CgfkPrB8@pureos>
Permalink:  ../ZMjzFBI2CgfkPrB8@pureos/
Also on:    postgresql.org/message-id/ZMjzFBI2CgfkPrB8@pureos

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: guru@unixarea.de, pf@pfortin.com
  Subject: Re: error: connection to server on socket...
  In-Reply-To: <ZMjzFBI2CgfkPrB8@pureos>
  References: <97d77785-22a0-5d48-9582-4a7beb2dc14f@gmail.com> <20230801072849.2faa25f1.pfortin@pfortin.com> <ZMjzFBI2CgfkPrB8@pureos>

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

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