Re: Connection failed

From: Steve Brett <SBrett(at)e-mis(dot)com>
To: webmaster <webmaster(at)nmb-it(dot)net>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Connection failed
Date: 2002-07-02 12:44:10
Message-ID: C05E7DA1218ED411BF8A00105AC95A8E059D73C4@sv-cntrmail.emis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

i think you might need to check your pg_hba.conf file (in your data
directory) and make sure there is an entry for the machine you are
connecting from . also make sure postgres is started with the '-i' flag to
accept tcp/ip connections ...

Steve

> -----Original Message-----
> From: webmaster [mailto:webmaster(at)nmb-it(dot)net]
> Sent: 28 June 2002 16:35
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] Connection failed
>
>
> Hi
>
> I am using PostgreSQL 7.0.x Java2 driver on Linux Cobalt with
> JSP web pages. When I connect to localhost I have no problem
> but when I try to connect to Postgresql DB on another machine
> it throws an exception, that is
> java.security.AccessControlException which reports "access
> denied". Does it depend on the driver or what else?
> Thanks for your help.
>
> Agostino De Bellis
>
>
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>
>

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message webmaster 2002-07-02 13:21:22 Re: Connection failed
Previous Message Stuart Robinson 2002-07-02 08:38:26 not able to fetch from refcursor