Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 3C1BB1FA2A53 for ; Thu, 26 Jul 2012 16:40:35 -0300 (ADT) Received: from free-man.net ([69.94.133.32] helo=main.free-man.net) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SuTvG-00024z-C2 for pgsql-jdbc@postgresql.org; Thu, 26 Jul 2012 19:40:34 +0000 Received: from 75.196.99.255 ([75.196.99.255]) by main.free-man.net (JAMES SMTP Server 2.3.2) with SMTP ID 674 for ; Thu, 26 Jul 2012 12:38:10 -0700 (PDT) Message-ID: <50119D17.9030602@free-man.net> Date: Thu, 26 Jul 2012 12:40:07 -0700 From: BJ Freeman User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: upgrade causes psql to not work Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -0.7 (/) X-Archive-Number: 201207/38 X-Sequence-Number: 23136 did a centos 5.6 server upgrade to PostgreSQL version 8.4.12. console: [root@main jdbc]# psql -h localhost -U gameserver passwordfromentityengine.xml psql: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5432? I notice there is no localhost and th 127.0.0.1 has /32 added. I can not add a localhost to the allowed hosts psql is running if I do [root@main jdbc]# psql -U gameserver passwordfromentityengine.xml with out defining the host, it works. I believe it is using Unix pipes instead of TCP I also can manage the psql server through webmin. I looked on the http://jdbc.postgresql.org/ and could not find any docs on the jdbc string to use my old one with localhost and 127.0.0.1 do not work any more. here is the conf # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust host all all 127.0.0.1 255.255.255.255 trust host all all 0.0.0.0 0.0.0.0 trust