Es correcto, Debes agregar la(s) dirección(es) IP al archivo de configuración
pg_hba.conf como por ejemplo: host all all 192.168.0.0/24 md5 Saludos On Fri, May 6, 2011 at 12:47 AM, juan jaimes <[email protected]> wrote: > 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 > [email protected] > [email protected] > -- Saludos _________________ José de Paz Medellín Antioquia Colombia Teléfono Móvil: 00-57-3202249189 Teléfono Casa: 00-57-43529922
