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 10:43:53 +0200
Message-ID: <4F9E50C9.7010708@is-buchholz.com> (raw)
In-Reply-To: <CACa6=i3GUa7gi0S1p6XiJ0FfBpkEKfoKn2ziCdQAzQLgyGmhpw@mail.gmail.com>
References: <CACa6=i3GUa7gi0S1p6XiJ0FfBpkEKfoKn2ziCdQAzQLgyGmhpw@mail.gmail.com>
On 30.04.12 10:30, Archana K N wrote:
>
> Hello,
>
> I am getting this error whenever I try to connect to remote
> computer.
> "Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not connect to server: Connection timed out (0x0000274C/10060) Is the
> server running on host "10.162.19.3" and accepting TCP/IP connections
> on port 5432? "
> --
> -------------------
> regards
> archana
> --------------------
Hello,
did your DB-Server accept connections via TCP/IP, can you connect via psql?
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: <4F9E50C9.7010708@is-buchholz.com>
References: <CACa6=i3GUa7gi0S1p6XiJ0FfBpkEKfoKn2ziCdQAzQLgyGmhpw@mail.gmail.com> <4F9E50C9.7010708@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