Re: Cannot connect to remote postgres using php
Sven Marcel Buchholz <[email protected]> Mon, 30 Apr 2012 20:19:09 +0200
| Newsgroups | gmane.comp.db.postgresql.php |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--------------070108040804050801010702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
On 30.04.12 20:10, Archana K N wrote:
>
>
> I host pgsql servers on both machines.
>
> the pph code is like this
>
>
>
> '
>
> $conn=pg_connect("host=10.162.19.3 port=5432 dbname=postgres
> user=postgres password=postgresql");
>
> '
>
>
>
> --
> -------------------
> regards
> archana
> --------------------
Hallo,
your firewall accepts requests for the IP 10.162.19.3 on port 5432?
Kind regards
Sven
--------------070108040804050801010702
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 30.04.12 20:10, Archana K N wrote:
<blockquote
cite="mid:CACa6=i0-OoXeH-AXq0Xje2KC6w0_HuRFwU4fa6KP7T-vamAwSQ@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">I host pgsql servers on both machines.
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EL">
<div>
<div class="im">
<div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<div class="gmail_quote">the pph code is like this</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">'</div>
<div class="gmail_quote">
<br>
</div>
<div class="gmail_quote">$conn=pg_connect("host=10.162.19.3
port=5432 dbname=postgres user=postgres password=postgresql");</div>
<div class="gmail_quote"><br>
</div>
<div class="gmail_quote">'</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
-------------------<br>
regards<br>
archana<br>
--------------------<br>
</blockquote>
Hallo,<br>
<br>
your firewall accepts requests for the IP 10.162.19.3 on port 5432?<br>
<br>
Kind regards<br>
<br>
Sven<br>
</body>
</html>
--------------070108040804050801010702--