Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 80BDCD32488 for ; Mon, 30 Apr 2012 07:26:20 -0300 (ADT) Received: from mail2.hosting.digiweb.ie ([89.234.64.43]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SOno9-0001nE-5Y for pgsql-php@postgresql.org; Mon, 30 Apr 2012 10:26:19 +0000 Received: (qmail 24368 invoked by uid 399); 30 Apr 2012 10:26:04 -0000 Received: from unknown (HELO ?127.0.0.1?) (music@galwaycathedral.ie@86.43.79.16) by mail2.hosting.digiweb.ie with ESMTPAM; 30 Apr 2012 10:26:04 -0000 X-Originating-IP: 86.43.79.16 Message-ID: <4F9E68BB.4060803@iol.ie> Date: Mon, 30 Apr 2012 11:26:03 +0100 From: Raymond O'Donnell Reply-To: rod@iol.ie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 MIME-Version: 1.0 To: Archana K N , PostgreSQLPHP Subject: Re: Cannot connect to remote postgres using php References: <4F9E5536.7000805@iol.ie> <4F9E6468.8050805@iol.ie> In-Reply-To: X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 120429-1, 29/04/2012), Outbound message X-Antivirus-Status: Clean X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/11 X-Sequence-Number: 4230 On 30/04/2012 11:15, Archana K N wrote: > > > I am using dreamweaver for creating web pages and requires php for > connecting to server computerand database . Am also using pgadmin but > can connect using that. > > Postgresql version- 9. > Operating System- windows XP > php version-5.2 > apache - 2.2 > and am using LAN Hi Arachna, [Please keep replies on-list; reply-all should do the job. Thanks!] Is it possible that your Postgres server is listening on a different port? If you can, could you post your postgresql.conf? Also, are you maybe using a firewall locally on your Windows machine which is blocking PHP? Ray. -- Raymond O'Donnell :: Galway :: Ireland rod@iol.ie