Re: Problem to connect from host via JDBC ...

From: <tsmets(at)brutele(dot)be>
To: "pgsql jdbc" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problem to connect from host via JDBC ...
Date: 2002-03-06 07:49:07
Message-ID: 00e201c1c4e6$fbaa9ff0$6501a8c0@calvin
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

That works
That's How I pollutate the DB ?

Thomas,

--
Thomas SMETS
rue J. Wytsmanstraat 62
1050 Bruxelles
yahoo-id : smetsthomas
----- Original Message -----
From: "Nick Fankhauser" <nickf(at)ontko(dot)com>
To: <tsmets(at)brutele(dot)be>; "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>; "pgsql jdbc"
<pgsql-jdbc(at)postgresql(dot)org>
Sent: 05 March, 2002 8:02 PM
Subject: Re: [JDBC] Problem to connect from host via JDBC ...

> Thomas-
>
> The port is different from http. If you have psql installed on you
machine,
> a simple test would be to type:
>
> psql -h<hostname> <database name>
>
> If you can connect and run a few quesries, then you know that the host
> machine is accepting connections.
>
> -Nick
>
> > -----Original Message-----
> > From: pgsql-jdbc-owner(at)postgresql(dot)org
> > [mailto:pgsql-jdbc-owner(at)postgresql(dot)org]On Behalf Of tsmets(at)brutele(dot)be
> > Sent: Tuesday, March 05, 2002 1:43 PM
> > To: Tom Lane; pgsql jdbc
> > Subject: Re: [JDBC] Problem to connect from host via JDBC ...
> >
> >
> >
> >
> > AFAIK
> > there's no such network policy as I was able to connect to the machine
via
> > HTTP when apache was turned on
> >
> > Thomas,
> >
> >
> > --
> > Thomas SMETS
> > rue J. Wytsmanstraat 62
> > 1050 Bruxelles
> > yahoo-id : smetsthomas
> > ----- Original Message -----
> > From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> > To: <tsmets(at)brutele(dot)be>
> > Cc: "pgsql jdbc" <pgsql-jdbc(at)postgresql(dot)org>
> > Sent: 05 March, 2002 5:00 PM
> > Subject: Re: [JDBC] Problem to connect from host via JDBC ...
> >
> >
> > > <tsmets(at)brutele(dot)be> writes:
> > > > Trying to connect from another machine via JDBC gives the following
> > error :
> > > > "1109 [main] WARN org.test.JDBCPostgres.TestJDBCPostgres - Message
:
> > > > Connection refused.
> > >
> > > "Connection refused" suggests that the server machine's kernel is
> > > rejecting the connection before it ever gets to the postmaster. Check
> > > to make sure you have the right hostname and port number specified.
> > > Another possibility is a packet-filtering issue (though those usually
> > > result in no response, rather than a connection-refused response).
> > >
> > > regards, tom lane
> > >
> > > ---------------------------(end of
broadcast)---------------------------
> > > TIP 2: you can get off all lists at once with the unregister command
> > > (send "unregister YourEmailAddressHere" to
majordomo(at)postgresql(dot)org)
> > >
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 6: Have you searched our list archives?
> >
> > http://archives.postgresql.org
> >
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message tsmets 2002-03-06 08:21:15 Re: Problem to connect from host via JDBC ...
Previous Message Justin Clift 2002-03-06 06:46:13 Re: Connections with Tomcat 3.2.4 and PostgreSQL 7.1.3