pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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 18:08:29 +0200
Message-ID: <4F9EB8FD.6010601@is-buchholz.com> (raw)
In-Reply-To: <CACa6=i2Q3BGkNuo_BsjNi3Vs0WqnBvo5JtN85Di-EXOS6K-2Hg@mail.gmail.com>
References: <CACa6=i3GUa7gi0S1p6XiJ0FfBpkEKfoKn2ziCdQAzQLgyGmhpw@mail.gmail.com>
	<4F9E5536.7000805@iol.ie>
	<CACa6=i1bgxgUv7TwRvJ-OfZpkd9ABTVCwM0Ek4GvphPFuHROdA@mail.gmail.com>
	<E94ED90402C8435C8006ED4AC91ABE99@toshiba>
	<CACa6=i2UMbDtzqyvOtPVscc-0CE7we3UmwGi2FtBf4=ejD+4RQ@mail.gmail.com>
	<160199AAABF9415FB10CB518309EC4F2@toshiba>
	<CACa6=i2Q3BGkNuo_BsjNi3Vs0WqnBvo5JtN85Di-EXOS6K-2Hg@mail.gmail.com>

On 30.04.12 17:57, Archana K N wrote:
> My postgres server is listening to same port . I tried changing both 
> but same error is showing.
>
> I restarted the servers after changing the conf files. pgadmin3 is 
> running on both servers and i can connect them remotely. I am able to 
> connect to local host using the php code.
>
> I think i have changed the files correctly , some antivirus softwares 
> are running in the system i dont know whether that causes the problem.
>
>
> -- 
> -------------------
> regards
> archana
> --------------------
Hallo,

did yours server listens on other addresses than localhost (I mean the 
parameter listen_addresses in your postgresql.conf)?

Kind regards

Sven



view thread (19+ messages)  latest in thread

Message-ID: <4F9EB8FD.6010601@is-buchholz.com>
Permalink:  ../4F9EB8FD.6010601@is-buchholz.com/
Also on:    postgresql.org/message-id/4F9EB8FD.6010601@is-buchholz.com

 · 

reply

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: <4F9EB8FD.6010601@is-buchholz.com>
  References: <CACa6=i3GUa7gi0S1p6XiJ0FfBpkEKfoKn2ziCdQAzQLgyGmhpw@mail.gmail.com> <4F9E5536.7000805@iol.ie> <CACa6=i1bgxgUv7TwRvJ-OfZpkd9ABTVCwM0Ek4GvphPFuHROdA@mail.gmail.com> <E94ED90402C8435C8006ED4AC91ABE99@toshiba> <CACa6=i2UMbDtzqyvOtPVscc-0CE7we3UmwGi2FtBf4=ejD+4RQ@mail.gmail.com> <160199AAABF9415FB10CB518309EC4F2@toshiba> <CACa6=i2Q3BGkNuo_BsjNi3Vs0WqnBvo5JtN85Di-EXOS6K-2Hg@mail.gmail.com> <4F9EB8FD.6010601@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