From: | juan jaimes <juanjava(at)gmail(dot)com> |
---|---|
To: | lista de postgres <pgsql-es-ayuda(at)postgresql(dot)org> |
Subject: | no me puedo conectar a un servidor remoto |
Date: | 2011-05-06 05:47:18 |
Message-ID: | BANLkTim=f44C6sUNEnht93JoWntEH3NkqQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-es-ayuda |
hola, buenas noches tengo un problema de coneccion con una base de datos y
me dan los siguientes errores
-------------------------------------------
guru hint server denies access
-------
Access to database denied
The server doesn't grant access to the database: the server reports
FATAL: no pg_hba.conf entry for host "192.168.1.9", user "sde", database
"sde", SSL off
To access a database on a PostgreSQL server, you first have to grant primary
access to the server for your client (Host Based Authentication). PostgreSQL
will check the pg_hba.conf file if a pattern that matches your client
address / username / database is present and enabled before any SQL GRANT
access control lists are evaluated.
The initial settings in pg_hba.conf are quite restrictive, in order to avoid
unwanted security holes caused by unreviewed but mandatory system settings.
You'll probably want to add something like
host all all 192.168.0.0/24 md5
---------------------------------------------
-------------------------------------------
pgAdmin III
------
An error has ocurred:
Error conecting to the server: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request
--------------------------------------------
y esto es porque instale un winserver2003 con ip 192.168.1.150, un arcgis y
un arcsde (este creo maneja el puerto 5151) con postgresql, me quedo bien
instalado y desde el arcsde puedo accesar a postgresql, despues desde un
arcgis de otra maquina remota (misma red (192.168.1.9)) me conecto a arcsde
y puedo manipular las tablas de postgresql y aqui biene el problema desde la
maquina remota (192.168.1.9) accesos a pgamin iii y quiero conectarme al
winserver2003 192.168.1.150 y me dan los errores de arriba que al buscar el
error me comentan que me falto '*' en archivo conf y host all all
192.168.1.9 md5 en el otro archivo de configuracion, recargo los parametros
y nada me da un error u otro me poran auxiliar por favor gracias
--
atte
juan antonio jaimes valle
merezco ser pròspero y exitoso, el dinero es mi amigo y se quiere venir
conmigo, tù tambièn
toluca, mexico
juanjava(at)gmail(dot)com
juanjava(at)yahoo(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Desarrollo Escuintla | 2011-05-06 05:52:32 | Re: no me puedo conectar a un servidor remoto |
Previous Message | Alvaro Herrera | 2011-05-06 01:30:04 | Re: Utilidad de pg_temp y pg_toast_temp |