pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitris Sakellarios <dimitris.sakellarios@telesuite.gr>
To: 'Archana K N' <archanakknn@gmail.com>
Cc: pgsql-php@postgresql.org
Subject: Re: Cannot connect to remote postgres using php
Date: Mon, 30 Apr 2012 13:26:52 +0300
Message-ID: <160199AAABF9415FB10CB518309EC4F2@toshiba> (raw)
In-Reply-To: <CACa6=i2UMbDtzqyvOtPVscc-0CE7we3UmwGi2FtBf4=ejD+4RQ@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>

Hi,

 

When you changed the 2 files did you restart the Pgsql server? If not do it.

 

Where is the pgadmin3 installed on the same computer running the Pgsql
server or on a remote computer? 

If it is on the same server default behaviour of Pgsql server is to allow
connection from the same server (local host) but if it is remotely then
either you will need to update the 2 files we mentioned earlier correctly.

 

Let me know.

 

 

Sakellarios Dimitris

Telesuite ltd Telecommunication and Internet Services

Address : T. Sofouli 14, Post Code 16344, Ilioupoli - Athens, Greece

T.: +30 211 760 1300 F.: +30 211 176 9999 M.: +30 6982 550 850 e-mail:
dimitris.sakellarios <mailto:dimitris.sakellarios@telesuite.gr>
@telesuite.gr  url: http://www.telesuite.gr <http://www.telesuite.gr/; 

  _____  

From: Archana K N [mailto:archanakknn@gmail.com] 
Sent: Monday, April 30, 2012 1:20 PM
To: Dimitris Sakellarios
Subject: Re: [PHP] Cannot connect to remote postgres using php

 

hello,

     I have changed both conf files. It is not working.


-- 
-------------------
regards
archana
--------------------

 

From: Archana K N [mailto:archanakknn@gmail.com] 
Sent: Monday, April 30, 2012 1:20 PM
To: Dimitris Sakellarios
Subject: Re: [PHP] Cannot connect to remote postgres using php

 



Yes my php script is running on a computer other than pgsql. 

yes logged in as admin in pgsql.

I am using pgadmin 3 also. I can connect using pgadmin.

-- 
-------------------
regards
archana
--------------------

view thread (19+ messages)  latest in thread

Message-ID: <160199AAABF9415FB10CB518309EC4F2@toshiba>
Permalink:  ../160199AAABF9415FB10CB518309EC4F2@toshiba/
Also on:    postgresql.org/message-id/160199AAABF9415FB10CB518309EC4F2@toshiba

 · 

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: dimitris.sakellarios@telesuite.gr, archanakknn@gmail.com
  Subject: Re: Cannot connect to remote postgres using php
  In-Reply-To: <160199AAABF9415FB10CB518309EC4F2@toshiba>
  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>

* 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