Re: Cannot connect to remote postgres using php

Sven Marcel Buchholz <[email protected]> Mon, 30 Apr 2012 10:43:53 +0200
Newsgroups gmane.comp.db.postgresql.php
Message-ID <[email protected]>
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

-- 
Sent via pgsql-php mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php