Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 9BC04D3248A for ; Mon, 30 Apr 2012 15:19:25 -0300 (ADT) Received: from moutng.kundenserver.de ([212.227.17.9]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SOvC0-0004Go-4E for pgsql-php@postgresql.org; Mon, 30 Apr 2012 18:19:25 +0000 Received: from [192.168.48.4] (dslb-088-073-046-184.pools.arcor-ip.net [88.73.46.184]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MQCLn-1SKE5V1f63-004iNc; Mon, 30 Apr 2012 20:19:10 +0200 Message-ID: <4F9ED79D.2060709@is-buchholz.com> Date: Mon, 30 Apr 2012 20:19:09 +0200 From: Sven Marcel Buchholz User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:11.0) Gecko/20120313 Thunderbird/11.0 MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: Cannot connect to remote postgres using php References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------070108040804050801010702" X-Provags-ID: V02:K0:KF2BhokNZ+o47i19I1b9jUH9Gjf2IXADrNCiiSg8f+W MKV3XabJP3/iZQomiGq+3Sl4cWi1wZeLK+OBH0/a4Xn6EYTTU3 +CmoRBU68DQaFVEF+rpQ5uFLvrgunkNtQKm5zra3agLgNJpEW0 UTEvRtx3NfwGQkOz0PlOzHGfIuQ+rSO+F59qIEaxwfkn1pbOZ0 KtoTsVdiafhcvAcKVs7Kg+67SLFjHXk84tV9KIwQFq4VjYza+a hql4cSdeNsLwv5gL4f+EnX+RsdsQ5RE7wUwjiYN5Rh1DWlzRqb 31WdGiRKyWjDHe5OwnxohQQZu3ER+MqRVkOrdIWPPIJkPWi0Fp SbligKmdhDVmL+Sh0snk= X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/19 X-Sequence-Number: 4238 This is a multi-part message in MIME format. --------------070108040804050801010702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 30.04.12 20:10, Archana K N wrote: > > > I host pgsql servers on both machines. > > the pph code is like this > > > > ' > > $conn=pg_connect("host=10.162.19.3 port=5432 dbname=postgres > user=postgres password=postgresql"); > > ' > > > > -- > ------------------- > regards > archana > -------------------- Hallo, your firewall accepts requests for the IP 10.162.19.3 on port 5432? Kind regards Sven --------------070108040804050801010702 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 30.04.12 20:10, Archana K N wrote:


I host pgsql servers on both machines.
the pph code is like this



'

$conn=pg_connect("host=10.162.19.3 port=5432 dbname=postgres user=postgres password=postgresql");

'



--
-------------------
regards
archana
--------------------
Hallo,

your firewall accepts requests for the IP 10.162.19.3 on port 5432?

Kind regards

Sven
--------------070108040804050801010702--