Dear all
 
I am trying to connect my java program remotely using postgres database. when trying to connect the it seem my user name is rejected.
 
I have put this configuration for my pg_hba.conf
local all ident sameuser
host all 0.0.0.0 0.0.0.0 ident sameuser
 
and when I check on the log it said
Unable to connect to Ident server on the host which is trying to connect to Post
gres (IP address 192.168.0.1, Port 113). errno = Connection refused (111)
 
in my program  I put
DriverManager.getConnection("jdbc:postgresql://192.168.0.2/xxx","xxxx","xxx");
 
is anyone know how to solve this problem?
 
many thanks in advance


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to