Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 019AF63310D for ; Thu, 28 Jan 2010 05:51:54 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 91391-04 for ; Thu, 28 Jan 2010 09:51:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sun1000.pwr.wroc.pl (sun1000.pwr.wroc.pl [156.17.250.2]) by mail.postgresql.org (Postfix) with ESMTP id 7BD58632B60 for ; Thu, 28 Jan 2010 05:51:43 -0400 (AST) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; charset=us-ascii Received: from pwr.wroc.pl ([156.17.193.108]) by sun1000.pwr.wroc.pl (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTP id <0KWY00182BE8E920@sun1000.pwr.wroc.pl> for pgsql-php@postgresql.org; Thu, 28 Jan 2010 10:51:44 +0100 (CET) Received: from [156.17.193.108] (Forwarded-For: 156.17.5.70) by z-pmail.wcss.wroc.pl (mshttpd); Thu, 28 Jan 2010 10:51:41 +0100 From: Ireneusz Tarnowski To: pgsql-php@postgresql.org Reply-to: Ireneusz.Tarnowski@pwr.wroc.pl Message-id: <72b0d9d047b1.4b616c3d@pwr.wroc.pl> Date: Thu, 28 Jan 2010 10:51:41 +0100 X-Mailer: Sun Java(tm) System Messenger Express 7u3-12.01 64bit (built Oct 15 2009) Content-language: pl Subject: problem with connection to remote server X-Accept-Language: pl X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201001/6 X-Sequence-Number: 4104 Hi, I have some PHP application and 2 postgreSQL remote servers. All servers are runing under Solaris 10. I can connect from application to one postgresql server and all work fine. I have to move database to second server. I export/import data. Check all data inside database - OK. I can't connect from php application into second postgresql server. I test if it possible to connect using psql -h remote_server and I can connect. I check firewall's ... but I can connect between application serwer and postgresql server using CMD (psql). Only PHP application can't connect. Otherside ... the PHP application works fine with first postgresql server (and PHP configuration supports psql). I compared TCP packets and it looks like the application and server drop connection after first 2 packets (ACK). Can anybody understand problem and know answer? best regards Irek