Re: Cannot connect to remote postgres using php

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Cannot connect to remote postgres using php
Дата
Msg-id 4F9E5536.7000805@iol.ie
обсуждение исходный текст
Ответ на Cannot connect to remote postgres using php  (Archana K N <archanakknn@gmail.com>)
Ответы Re: Cannot connect to remote postgres using php  (Archana K N <archanakknn@gmail.com>)
Список pgsql-php
On 30/04/2012 09: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?  "

Things to check:

- Is Postgres actually running on the server machine?

- Is it accepting TCP/IP connections on port 5432? - Check
listen_addresses in postgresql.conf

- Is there a firewall somewhere between client and server?

- Can you connect manually to the server using psql?

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

В списке pgsql-php по дате отправления:

Предыдущее
От: Sven Marcel Buchholz
Дата:
Сообщение: Re: Cannot connect to remote postgres using php
Следующее
От: Archana K N
Дата:
Сообщение: Re: Cannot connect to remote postgres using php