From: himanshu.joshi <himanshu.joshi@orkash.com>
To: pgsql-admin@postgresql.org
Subject: Problem after changing the port number of postgres
Date: Mon, 17 Sep 2012 11:55:59 +0530
Message-ID: <5056C277.2080503@orkash.com> (raw)
Hi,
I have changed the default port of postgres in file "postgresql.conf"
from 5432 to another four digit port which was not assigned to any one
else. After the change I restarted the postgres as well as the system.
But after changing the port while connecting to postgres I am getting
this error:
root@s14-apps:/opt/PostgresPlus/8.4SS# bin/psql -Upostgres
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
I checked the path /temp/
the .s.PGSQL.____ file is available there for the new port.
Any help is appreciated.
Thanks & Regards
Himanshu Joshi
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: himanshu.joshi@orkash.com
Subject: Re: Problem after changing the port number of postgres
In-Reply-To: <5056C277.2080503@orkash.com>
* 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