Re: Cannot connect to remote postgres using php

From: Sven Marcel Buchholz <sven(at)is-buchholz(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Cannot connect to remote postgres using php
Date: 2012-04-30 08:43:53
Message-ID: 4F9E50C9.7010708@is-buchholz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Raymond O'Donnell 2012-04-30 09:02:46 Re: Cannot connect to remote postgres using php
Previous Message Dimitris Sakellarios 2012-04-30 08:40:37 Re: Cannot connect to remote postgres using php