• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Give Permissions for postgresdb to our localsystem.  RSS feed

 
c lokesh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,


I am trying to connect to PostgreSQL db from my java program,I am getting an exception as

org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
can anyone help me to resolve this issue.
Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!