Re: Problem to connect from host via JDBC ...
От | Nick Fankhauser |
---|---|
Тема | Re: Problem to connect from host via JDBC ... |
Дата | |
Msg-id | NEBBLAAHGLEEPCGOBHDGOEOEEHAA.nickf@ontko.com обсуждение исходный текст |
Ответ на | Re: Problem to connect from host via JDBC ... (<tsmets@brutele.be>) |
Список | pgsql-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@postgresql.org > [mailto:pgsql-jdbc-owner@postgresql.org]On Behalf Of tsmets@brutele.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@sss.pgh.pa.us> > To: <tsmets@brutele.be> > Cc: "pgsql jdbc" <pgsql-jdbc@postgresql.org> > Sent: 05 March, 2002 5:00 PM > Subject: Re: [JDBC] Problem to connect from host via JDBC ... > > > > <tsmets@brutele.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@postgresql.org) > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org >
В списке pgsql-jdbc по дате отправления: