Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3B8F965034D for ; Mon, 1 Sep 2008 03:35:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 35576-02 for ; Mon, 1 Sep 2008 03:34:51 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from blu0-omc1-s5.blu0.hotmail.com (blu0-omc1-s5.blu0.hotmail.com [65.55.116.16]) by postgresql.org (Postfix) with ESMTP id B3ECF650372 for ; Mon, 1 Sep 2008 03:10:30 -0300 (ADT) Received: from BLU149-W30 ([65.55.116.9]) by blu0-omc1-s5.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 31 Aug 2008 23:10:29 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_f35e7279-99a1-45fb-8745-74a4dce4d837_" X-Originating-IP: [59.160.193.34] From: Vishal Arora To: davyd , Subject: Re: Configure DB Date: Mon, 1 Sep 2008 11:40:29 +0530 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 01 Sep 2008 06:10:29.0105 (UTC) FILETIME=[6ED5FE10:01C90BF9] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200809/1 X-Sequence-Number: 30094 --_f35e7279-99a1-45fb-8745-74a4dce4d837_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sat=2C 30 Aug 2008 11:42:57 -0500From: davydky@gmail.comTo: pgsql-adm= in@postgresql.orgSubject: [ADMIN] Configure DB Hi List=2C I'm working with Postgres=2C I'm storing spatial information= =2C but I have any problems when I try to acces to my data..from php=2C vis= ual basic and postgis too...This is the message error:Warning: pg_connect()= [function.pg-connect]: Unable to connect to PostgreSQL server: could not c= onnect to server: Connection refused (0x0000274D/10061) Is the server runni= ng on host "???" and accepting TCP/IP connections on port 5432? in C:\Progr= am Files\ms4w\Apache\htdocs\conexion.php on line 4I read that I need to con= figure these files: pg_hba.confpostgresql.conf Have you configured these files? Is your service running / Have you tried c= onnecting to Postgres Server using psql or any other client like PgAdmin?I = hope your help..Thanks... _________________________________________________________________ Searching for the best deals on travel? Visit MSN Travel. http://msn.coxandkings.co.in/cnk/cnk.do= --_f35e7279-99a1-45fb-8745-74a4dce4d837_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable




Date: Sat=2C 30 Aug 2008 11:42:57 -0500
From: davydky@gmail.com
To: p= gsql-admin@postgresql.org
Subject: [ADMIN] Configure DB

Hi List=2C
I'm working with Postgres=2C =3B I'm = =3B storing spatial information=2C but I have any problems when I try to ac= ces to my data..from php=2C visual basic and postgis too...

This is = the message error:

Warning: pg_connect() [function.pg-connect]: Una= ble to connect to PostgreSQL server: could not connect to server: Connectio= n refused (0x0000274D/10061) Is the server running on host "???" and accept= ing TCP/IP connections on port 5432? in C:\Program Files\ms4w\Apache\htd= ocs\conexion.php on line 4

I read that I need to configur= e these files:
pg_hba.conf
postgresql.conf
Have you configured these files? Is yo= ur service running / Have you tried connecting to Postgres Server using psq= l or any other client like PgAdmin?

I hope your help..
Tha= nks...




Movies=2C sports & news! Get your daily= entertainment fix=2C only on live.com Try it now! = --_f35e7279-99a1-45fb-8745-74a4dce4d837_--