Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 09846D32488 for ; Mon, 30 Apr 2012 07:27:17 -0300 (ADT) Received: from zeus.netdynamics.gr ([94.229.71.8]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SOnp5-0004yA-Rt for pgsql-php@postgresql.org; Mon, 30 Apr 2012 10:27:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=telesuite.gr; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:Cc:To:From; bh=v6Lzt2i1FVwxxaYFfXlX2ULU3tWH2DHXlTQXfJM1ais=; b=ilaB3WwHuyGbiY3dH50iHdkZHMCzxtRBZ5l9uwEa4DzrKc+WO0afQOz03ZXCdNp8DIcfNbSB7zKzMBAURMRmwa1rnq07u+pZBVv9A293MOckX3sMtL6J72qrzS0xiTgu; Received: from sakeldim.static.otenet.gr ([83.235.183.180]:15424 helo=toshiba) by zeus.netdynamics.gr with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SOnor-0000G6-9o; Mon, 30 Apr 2012 13:27:01 +0300 From: "Dimitris Sakellarios" To: "'Archana K N'" Cc: References: <4F9E5536.7000805@iol.ie> In-Reply-To: Subject: Re: Cannot connect to remote postgres using php Date: Mon, 30 Apr 2012 13:26:52 +0300 Message-ID: <160199AAABF9415FB10CB518309EC4F2@toshiba> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00AB_01CD26D4.E8C354D0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0mur2U9qD2BG3PRkuiGOYDwVoSMAAACSDw X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18463 X-ACL-Warn: { X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zeus.netdynamics.gr X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - telesuite.gr X-Source: X-Source-Args: X-Source-Dir: X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/12 X-Sequence-Number: 4231 This is a multi-part message in MIME format. ------=_NextPart_000_00AB_01CD26D4.E8C354D0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 @telesuite.gr url: 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 -------------------- ------=_NextPart_000_00AB_01CD26D4.E8C354D0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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@telesuite.gr  = url: 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
--------------------

------=_NextPart_000_00AB_01CD26D4.E8C354D0--