From: Sven Marcel Buchholz <sven@is-buchholz.com>
To: pgsql-php@postgresql.org
Subject: Re: Cannot connect to remote postgres using php
Date: Mon, 30 Apr 2012 20:19:09 +0200
Message-ID: <4F9ED79D.2060709@is-buchholz.com> (raw)
In-Reply-To: <CACa6=i0-OoXeH-AXq0Xje2KC6w0_HuRFwU4fa6KP7T-vamAwSQ@mail.gmail.com>
References: <C9E90317C38C42179737E941E16F7685@toshiba>
<CACa6=i0-OoXeH-AXq0Xje2KC6w0_HuRFwU4fa6KP7T-vamAwSQ@mail.gmail.com>
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
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: sven@is-buchholz.com
Subject: Re: Cannot connect to remote postgres using php
In-Reply-To: <4F9ED79D.2060709@is-buchholz.com>
References: <C9E90317C38C42179737E941E16F7685@toshiba> <CACa6=i0-OoXeH-AXq0Xje2KC6w0_HuRFwU4fa6KP7T-vamAwSQ@mail.gmail.com> <4F9ED79D.2060709@is-buchholz.com>
* 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