Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 78E739FA265 for ; Thu, 2 Nov 2006 07:41:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 46961-05 for ; Thu, 2 Nov 2006 11:41:20 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from h978307.serverkompetenz.net (h978307.serverkompetenz.net [85.214.20.115]) by postgresql.org (Postfix) with ESMTP id C5E8F9F9425 for ; Thu, 2 Nov 2006 07:41:20 -0400 (AST) Received: from [192.168.0.4] (p54BF5E88.dip.t-dialin.net [84.191.94.136]) by h978307.serverkompetenz.net (Postfix) with ESMTP id B13AF53F313 for ; Thu, 2 Nov 2006 12:42:30 +0100 (CET) Message-ID: <4549D95C.90007@adocom.de> Date: Thu, 02 Nov 2006 12:41:16 +0100 From: Dirk Becker User-Agent: Mozilla Thunderbird 1.0 (X11/20041207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-php@postgresql.org Subject: Re: cant conect to dynamic host-URL References: <4548E934.5090904@adocom.de> <1d7288990611011311u6e8c17bbt49a5e67a45faeffb@mail.gmail.com> <45492A53.6070707@mailnetwork.co.uk> <4549AB1C.2010204@adocom.de> <4549BEAF.9010609@mailnetwork.co.uk> In-Reply-To: <4549BEAF.9010609@mailnetwork.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/6 X-Sequence-Number: 3624 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.