Lists: | pgsql-php |
---|
From: | "Dimitris Sakellarios" <dimitris(dot)sakellarios(at)telesuite(dot)gr> |
---|---|
To: | "'Archana K N'" <archanakknn(at)gmail(dot)com> |
Cc: | <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: Cannot connect to remote postgres using php |
Date: | 2012-04-30 10:26:52 |
Message-ID: | PostgreSQL : Re : 토토 사이트를 사용하여 원격 포스트 그레에 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-php |
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(dot)sakellarios(at)telesuite(dot)gr>
@telesuite.gr url: http://www.telesuite.gr <http://www.telesuite.gr/>
_____
From: Archana K N [mailto:archanakknn(at)gmail(dot)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(at)gmail(dot)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
--------------------
From: | Archana K N <archanakknn(at)gmail(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Cannot connect to remote postgres using php |
Date: | 2012-04-30 15:57:48 |
Message-ID: | CACa6=i2Q3BGkNuo_BsjNi3Vs0WqnBvo5JtN85Di-EXOS6K-2Hg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-php |
My postgres server is listening to same port . I tried changing both but
same error is showing.
I restarted the servers after changing the conf files. pgadmin3 is running
on both servers and i can connect them remotely. I am able to connect to
local host using the php code.
I think i have changed the files correctly , some antivirus softwares are
running in the system i dont know whether that causes the problem.
--
-------------------
regards
archana
--------------------
From: | Sven Marcel Buchholz <sven(at)is-buchholz(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Cannot connect to remote postgres using php |
Date: | 2012-04-30 16:08:29 |
Message-ID: | 4F9EB8FD.6010601@is-buchholz.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-php |
On 30.04.12 17:57, Archana K N wrote:
> My postgres server is listening to same port . I tried changing both
> but same error is showing.
>
> I restarted the servers after changing the conf files. pgadmin3 is
> running on both servers and i can connect them remotely. I am able to
> connect to local host using the php code.
>
> I think i have changed the files correctly , some antivirus softwares
> are running in the system i dont know whether that causes the problem.
>
>
> --
> -------------------
> regards
> archana
> --------------------
Hallo,
did yours server listens on other addresses than localhost (I mean the
parameter listen_addresses in your postgresql.conf)?
Kind regards
Sven
From: | Archana K N <archanakknn(at)gmail(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Cannot connect to remote postgres using php |
Date: | 2012-04-30 16:16:16 |
Message-ID: | CACa6=i3TDD-XzeJ3NEH6F8ouEXEm4Q0yRqS-oLUWWa91qPpqeQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-php |
listen_addresses is given as ' * ' . Didnt try it on other addresses.
--
-------------------
regards
archana
--------------------
From: | "sven(at)is-buchholz(dot)com" <sven(at)is-buchholz(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Re: Cannot connect to remote postgres using php |
Date: | 2012-04-30 16:19:48 |
Message-ID: | 1820943611.526151.1335802788579.JavaMail.open-xchange@email.1und1.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-php |
Archana K N <archanakknn(at)gmail(dot)com> hat am 30. April 2012 um 18:16
geschrieben:
> listen_addresses is given as ' * ' . Didnt try it on other addresses.
>
>
> --
> -------------------
> regards
> archana
> --------------------
Hallo,
ok, do you use the same db-user for pgAdmin3 and your php-script?