ipv6 issue with postgres
0 posts in topic
Flat View  Flat View

Posted By:   Amit_Sharma
Posted On:   Thursday, November 22, 2007 03:42 AM

My machine is ipv6 compatible.When i try to connect to postgres which is on my local machine by giving the URL like "jdbc:postgresql://[:]/sigaba_admin,user name,password" it is giving me the exception

org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Exception: java.net.ConnectException: Connection refused: connect.

while when i used ipv4 ip like jdbc:postgresql://,user name,password it is working perfectly.I have postgres jar version 8.0.Please suggest

About | Sitemap | Contact