Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id DB8D26501D8 for ; Sat, 30 Aug 2008 13:43:42 -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 96670-01-7 for ; Sat, 30 Aug 2008 13:43:37 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.154]) by postgresql.org (Postfix) with ESMTP id E6E3065034D for ; Sat, 30 Aug 2008 13:43:00 -0300 (ADT) Received: by po-out-1718.google.com with SMTP id c31so2136892poi.3 for ; Sat, 30 Aug 2008 09:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=lnUhP97QGRsvJruKQlKSH/qzuDQ8uhJONdy2dtLs/2Y=; b=mcQK5YmqYn/AA7Skbzw13JS+mM5rP8CvYJlJLSKQTpYPgMuctMB+bbmRV80DmrgXPj AYZkGDVDmuXW/Hy9bPSea5N7bdJQe41ClDoYunEVADzrYm1RkQeI4vVqZszRBeEaUF5s xTJ8IJ0SOYol/iSuXgbrphAV67EdZqQac0YP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=UjbkgxRpro1hqFjAOCbzOfVCFv+bNRieab8I61PA3mVBC60qsQ8KY324yY3tDCSXOW iwtsfkZ3u0joXqIsS49tzioqkVklPGO29g+gCbmElTyR3pnp1QPTNvUGbpoIF9ObreFB Mwu9LAdIyTEdJsA6CknJZZQbPgelmw8hUkRCg= Received: by 10.141.66.16 with SMTP id t16mr2249651rvk.168.1220114577999; Sat, 30 Aug 2008 09:42:57 -0700 (PDT) Received: by 10.141.177.16 with HTTP; Sat, 30 Aug 2008 09:42:57 -0700 (PDT) Message-ID: Date: Sat, 30 Aug 2008 11:42:57 -0500 From: davyd To: pgsql-admin@postgresql.org Subject: Configure DB MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_769_12246320.1220114578001" 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: 200808/245 X-Sequence-Number: 30090 ------=_Part_769_12246320.1220114578001 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi List, I'm working with Postgres, I'm storing spatial information, but I have any problems when I try to acces to my data..from php, visual basic and postgis too... This is the message error: *Warning*: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? in *C:\Program Files\ms4w\Apache\htdocs\conexion.php* on line *4* I read that I need to configure these files: pg_hba.conf postgresql.conf I hope your help.. Thanks... ------=_Part_769_12246320.1220114578001 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi List,
I'm working with Postgres,  I'm  storing spatial information, but I have any problems when I try to acces to my data..from php, visual basic and postgis too...

This is the message error:

Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? in C:\Program Files\ms4w\Apache\htdocs\conexion.php on line 4

I read that I need to configure these files:
pg_hba.conf
postgresql.conf


I hope your help..
Thanks...


------=_Part_769_12246320.1220114578001--