We are trying to connect to Database with port 1521 we are getting the error as like below.
-bash-4.2$ ps-bash-4.2$ psql -p 1521
psql: error: 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.1521”?
We have 2 ports hosted on the machine and we are able to login to other port with out any issue, Could some one help me as we are stuck with production .