I changed the port of Postgres to 2345
and I have the socket in:
/tmp/.s.PGSQL.2345
If I run psql
I get this error:
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory
how to pass the socket path?