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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
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????
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2006-06-28 23:46:50 | Re: Conexion remota desde IIS a BD postgresql |
Previous Message | Alvaro Herrera | 2006-06-28 23:21:04 | Re: columna oid |