pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dirk Becker <becker@adocom.de>
To: pgsql-php@postgresql.org
Subject: Re: cant conect to dynamic host-URL
Date: Thu, 02 Nov 2006 12:41:16 +0100
Message-ID: <4549D95C.90007@adocom.de> (raw)
In-Reply-To: <4549BEAF.9010609@mailnetwork.co.uk>
References: <4548E934.5090904@adocom.de>
	<1d7288990611011311u6e8c17bbt49a5e67a45faeffb@mail.gmail.com>
	<45492A53.6070707@mailnetwork.co.uk>
	<4549AB1C.2010204@adocom.de>
	<4549BEAF.9010609@mailnetwork.co.uk>

The Server i want to contact only runs the Database, no other services 
and on my Client i had compiled the same postgres version.
I also use an Java-Applet which runs in Browser and with that Applet i 
can connect via jdbc3 (8.1-407) with the dynamic-Address.
So I think it must be a problem with the php libs, i will upgrade soon 
my php-version to php5 for testing ...

Thanks for all your reply's until now :)


Andy Shellam (Mailing Lists) wrote:
> > Could it be that pg_connect cant connect through real URLs ?
>
> The only difference with a dynamic URL is that the DNS expiry 
> (time-to-cache) is much lower (usually 5 minutes as opposed to a 
> day.)  DNS clients don't see it any differently.
> I would try a newer PHP version (latest in the 4 series is 4.4.4).
>
> I must admit I've never had a problem with pg_connect not seeing a 
> domain the server itself can.
>
> Is the PostgreSQL server on the same box as PHP?  Have you tried 
> connecting through domain sockets instead?
>
> Andy.



view thread (7+ messages)  latest in thread

Message-ID: <4549D95C.90007@adocom.de>
Permalink:  ../4549D95C.90007@adocom.de/
Also on:    postgresql.org/message-id/4549D95C.90007@adocom.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: becker@adocom.de
  Subject: Re: cant conect to dynamic host-URL
  In-Reply-To: <4549D95C.90007@adocom.de>
  References: <4548E934.5090904@adocom.de> <1d7288990611011311u6e8c17bbt49a5e67a45faeffb@mail.gmail.com> <45492A53.6070707@mailnetwork.co.uk> <4549AB1C.2010204@adocom.de> <4549BEAF.9010609@mailnetwork.co.uk> <4549D95C.90007@adocom.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox