Connecting via postgresql jdbc

Поиск
Список
Период
Сортировка
От Bruce Hyatt
Тема Connecting via postgresql jdbc
Дата
Msg-id 858033.32126.qm@web34401.mail.mud.yahoo.com
обсуждение исходный текст
Ответы Re: Connecting via postgresql jdbc  ("Damian Carey" <jamianb@gmail.com>)
Список pgsql-novice
I have not been able to connect to postgresql via postgresql jdbc. The problem is not with postgresql jdbc because
tcpdumpon the postgresql host shows that the connection is getting through. 

The message I get from the java app is that the connection is refused. The username passed by
DriverManager.getConnectionworks from psql on the postgresql host. I'm sure I know the password for this user and tried
usinga null string for the password too with the same result. 

I'm running the java app on windows xp pro connecting to postgresql 8.3.5 on centos 4.7 via postgresql-8.3-604.jdbc4 on
anprivate network. The hosts files are configured correctly. The postgresql.conf file has listen_addresses = '*'.
Pg_hba.confIPv4 local connections is: 
host  all  all  192.168.1.0/24   MD5


TIA,
Bruce Hyatt




В списке pgsql-novice по дате отправления:

Предыдущее
От: "Mag Gam"
Дата:
Сообщение: tuning question
Следующее
От: "Damian Carey"
Дата:
Сообщение: Re: Connecting via postgresql jdbc