Skip site navigation (1) Skip section navigation (2)

Re: Conexion remota desde IIS a BD postgresql

From: "Luis Suarez" <luis(dot)suarez(dot)g(at)gmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Conexion remota desde IIS a BD postgresql
Date: 2006-06-28 23:29:14
Message-ID: 6655e40d0606281629r7b0da924j1a8598e136c34b8d@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
Amigos, modifiqué el php.ini y ahora sí aparece el error(es):

*Warning*: pg_connect()
[function.pg-connect<http://peredef104110/prb_php/function.pg-connect>]:
Unable to connect to PostgreSQL server: could not connect to server:
Connection refused (0x0000274D/10061) Is the server running on host "
10.41.9.203" and accepting TCP/IP connections on port 5432? in *
D:\PlanetaAxon\php\lee_nucleo0.php* on line *6*

*Warning*: pg_last_error()
[function.pg-last-error<http://peredef104110/prb_php/function.pg-last-error>]:
No PostgreSQL link opened yet in *D:\PlanetaAxon\php\lee_nucleo0.php* on
line *7*
conexion error:

Qué hago sigo sin conexión ¿falta algún paso que configurar en el postgres?
Ya configuré los dos archivos del pg:
-------------> pg_hba.conf:
# IPv4 local connections:
host    all         all         127.0.0.1/32          md5
# IPv6 local connections:
host  all  all  10.41.9.181/0  trust
----------------------------------------------------> y postgresql.conf:
listen_addresses = 'localhost,10.41.9.181'

---> Qué me falta????

In response to

Responses

pgsql-es-ayuda by date

Next:From: Alvaro HerreraDate: 2006-06-28 23:46:50
Subject: Re: Conexion remota desde IIS a BD postgresql
Previous:From: Alvaro HerreraDate: 2006-06-28 23:21:04
Subject: Re: columna oid

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group