Re: Cannot connect to remote postgres using php - Mailing list pgsql-php

From Dimitris Sakellarios
Subject Re: Cannot connect to remote postgres using php
Date
Msg-id 2636D2B5ABD346E7AED4900C78859811@toshiba
Whole thread Raw
In response to Re: Cannot connect to remote postgres using php  ("Dimitris Sakellarios" <dimitris.sakellarios@telesuite.gr>)
List pgsql-php

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
--------------------

pgsql-php by date:

Previous
From: "Dimitris Sakellarios"
Date:
Subject: Re: Cannot connect to remote postgres using php
Next
From: Raymond O'Donnell
Date:
Subject: Re: Cannot connect to remote postgres using php