Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDUjj-0007jC-Mj for pgsql-admin@postgresql.org; Mon, 17 Sep 2012 06:23:15 +0000 Received: from smtp112.dfw.emailsrvr.com ([67.192.241.112]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TDUjh-0004z3-9b for pgsql-admin@postgresql.org; Mon, 17 Sep 2012 06:23:14 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 1085BD03C3 for ; Mon, 17 Sep 2012 02:23:12 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp11.relay.dfw1a.emailsrvr.com (Authenticated sender: himanshu.joshi-AT-orkash.com) with ESMTPSA id 72818D0343 for ; Mon, 17 Sep 2012 02:23:11 -0400 (EDT) Message-ID: <5056C277.2080503@orkash.com> Date: Mon, 17 Sep 2012 11:55:59 +0530 From: "himanshu.joshi" User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Problem after changing the port number of postgres Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201209/93 X-Sequence-Number: 40034 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