pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Irfan Qaiser <irfan@appsys.com.pk>
To: pgsql-admin@postgresql.org
Subject: problem in pg_hba.conf file
Date: Fri, 30 Jun 2000 11:55:27 +0500
Message-ID: <001701bfe260$38d82390$0300a8c0@jungle> (raw)

I m getting the following error message when i try to get a connection through a jsp file.

"Something unusual has occured to cause the driver to fail. Please report this exception: java.sql.SQLException: No pg_hba.conf entry for host 161.58.235.51, user ticket, database theatick "


where '161.58.235.51' is the ip address of my server and theatick is the database name and tikcet is the user Id for that database

whereas pg_hpa.conf file contain two (by default) entries 

local     all                                                         trust
host     all    127.0.0.1    255.255.255.255            trust

is there anything else required in pg_hba.conf or what ????

Irfan Qaiser

view thread (2+ messages)  latest in thread

Message-ID: <001701bfe260$38d82390$0300a8c0@jungle>
Permalink:  ../001701bfe260$38d82390$0300a8c0@jungle/
Also on:    postgresql.org/message-id/001701bfe260$38d82390$0300a8c0@jungle

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: irfan@appsys.com.pk
  Subject: Re: problem in pg_hba.conf file
  In-Reply-To: <001701bfe260$38d82390$0300a8c0@jungle>
  References: <001701bfe260$38d82390$0300a8c0@jungle>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox