Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id D9E14D32488 for ; Mon, 30 Apr 2012 07:16:32 -0300 (ADT) Received: from zeus.netdynamics.gr ([94.229.71.8]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SOnef-0001bV-2B for pgsql-php@postgresql.org; Mon, 30 Apr 2012 10:16:31 +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=3jS+ShkCVfpBR7T/+UqhVpi5D3E918xntq7RONGbs0g=; b=GyaqW7DNeDl3YkGLwlgsLJz4QFoEEAY9uFj3HdaEse6icT8cVz9XXVcxD0prBVb+WLp+KfhNQUDs+VnHtdc5oGslBXntOE4Ba2AjkHldw0RTREtZXUv2i798yf8iBw4W; Received: from sakeldim.static.otenet.gr ([83.235.183.180]:13452 helo=toshiba) by zeus.netdynamics.gr with esmtps (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SOneR-00066S-HY; Mon, 30 Apr 2012 13:16:16 +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:16:06 +0300 Message-ID: <2636D2B5ABD346E7AED4900C78859811@toshiba> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_009E_01CD26D3.67E813B0" X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0muFxr1CXCg/NxQcS/UOHSCS2Z3QAAB+FAAABdlGA= 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/10 X-Sequence-Number: 4229 This is a multi-part message in MIME format. ------=_NextPart_000_009E_01CD26D3.67E813B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit If you are admin of Pgsql server pls provide pg_hda.conf postgresql.conf maybe the configuration of your server doesn't allow connection other that local host. 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 Dimitris Sakellarios Sent: Monday, April 30, 2012 1:11 PM To: 'Archana K N'; pgsql-php@postgresql.org Subject: Re: [PHP] Cannot connect to remote postgres using php 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_009E_01CD26D3.67E813B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

If you are admin of Pgsql server pls provide =

 

pg_hda.conf

postgresql.conf

 

maybe the configuration of your server = doesn’t allow connection other that local host.

 

 

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 Dimitris = Sakellarios
Sent: Monday, April 30, = 2012 1:11 PM
To: 'Archana K N'; pgsql-php@postgresql.org
Subject: Re: [PHP] Cannot = connect to remote postgres using php

 

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_009E_01CD26D3.67E813B0--