Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 8F990D32488 for ; Mon, 30 Apr 2012 07:11:02 -0300 (ADT) Received: from zeus.netdynamics.gr ([94.229.71.8]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SOnZM-0001UV-2c for pgsql-php@postgresql.org; Mon, 30 Apr 2012 10:11:02 +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:To:From; bh=VW5eksHBg78NWd67tQWbj0m9Dy/up2rb4BmVDOGttEg=; b=dnY6D0vBXHf518m36wl0Ixhd8vnk1xtdyqOWBwcJnOnvs2Mgxz32dU47OLQqcT9tV2RwMpxf1V9Umro1Y27McDFOH12+CuaT06fX4Ahke9+MKZQseqn0QCDoBAmuJgqz; Received: from sakeldim.static.otenet.gr ([83.235.183.180]:12432 helo=toshiba) by zeus.netdynamics.gr with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SOnZ8-0004jH-Qf; Mon, 30 Apr 2012 13:10:47 +0300 From: "Dimitris Sakellarios" To: "'Archana K N'" , References: <4F9E5536.7000805@iol.ie> In-Reply-To: Subject: Re: Cannot connect to remote postgres using php Date: Mon, 30 Apr 2012 13:10:38 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0097_01CD26D2.A3FEE0F0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0muFxr1CXCg/NxQcS/UOHSCS2Z3QAAB+FA 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: -2.0 (--) X-Archive-Number: 201204/9 X-Sequence-Number: 4228 This is a multi-part message in MIME format. ------=_NextPart_000_0097_01CD26D2.A3FEE0F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Dear archana, Is the PHP script you are running on a remote server other than the one running Pgsql? If so, have you got rights to access Pgsql server remotely? Or you are allowed only from a web browser using phpmyadmin? Are you the admin of Pgsql server? --------- Did you try pgAdmin3 as a standalone client to connect from your pc? Please provide some topology design. 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: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Archana K N Sent: Monday, April 30, 2012 1:02 PM To: pgsql-php@postgresql.org Subject: Re: [PHP] Cannot connect to remote postgres using php Hello, I can connect to the other computer using web browser and also can access postgres. -- ------------------- regards archana -------------------- ------=_NextPart_000_0097_01CD26D2.A3FEE0F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear archana,

 

Is the PHP script you are running on a remote = server other than the one running Pgsql?

 

If so, have you got rights to access Pgsql = server remotely? Or you are allowed only from a web browser using = phpmyadmin?

 

Are you the admin of Pgsql = server?

 

---------

 

Did you try pgAdmin3 as a standalone client = to connect from your pc?

 

Please provide some topology = design.

 

 

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: pgsql-php-owner@postgresql.org [mailto:pgsql-php-owner@postgresql.org] = On Behalf Of Archana K N
Sent: Monday, April 30, = 2012 1:02 PM
To: = pgsql-php@postgresql.org
Subject: Re: [PHP] Cannot = connect to remote postgres using php

 


Hello,

 I can connect to the other computer using web browser and also can = access postgres.



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

------=_NextPart_000_0097_01CD26D2.A3FEE0F0--