From: Ireneusz Tarnowski <Ireneusz.Tarnowski@pwr.wroc.pl>
To: pgsql-php@postgresql.org
Subject: problem with connection to remote server
Date: Thu, 28 Jan 2010 10:51:41 +0100
Message-ID: <72b0d9d047b1.4b616c3d@pwr.wroc.pl> (raw)
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: Ireneusz.Tarnowski@pwr.wroc.pl
Subject: Re: problem with connection to remote server
In-Reply-To: <72b0d9d047b1.4b616c3d@pwr.wroc.pl>
References: <72b0d9d047b1.4b616c3d@pwr.wroc.pl>
* 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