could not connect via psql to 9.4 version - Mailing list pgsql-admin

From Murali Paramu
Subject could not connect via psql to 9.4 version
Date
Msg-id CAC9RKdOmWV7ePWDpUJZSmNor8jePoCtKc+uYrp=ccUYrrEwuBQ@mail.gmail.com
Whole thread Raw
Responses Re: could not connect via psql to 9.4 version  (Rahul Saha <rahul.blooming@gmail.com>)
Re: could not connect via psql to 9.4 version  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: could not connect via psql to 9.4 version  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-admin
Hello Team,
I have two versions of PostgreSQL 9.4 and 12.1
both servers can be connected through pgAdmin.
But through psql I can connect only to 12.1

when i connect to 9.4 got below error:
$ psql -U postgres -p 5432
psql: error: could not connect to server: 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"?


--
~~~~~~~~~~~~~
സ്നേഹാദരങ്ങളോടെ
ഐ.പി.മുരളി
thanks & regards,
i.p.murali

pgsql-admin by date:

Previous
From: Peter Wainaina
Date:
Subject: MULTI MASTER IMPLEMENTATION
Next
From: Rahul Saha
Date:
Subject: Re: could not connect via psql to 9.4 version