Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2006
    Posts
    13

    Unanswered: Connecting to postgres through Netbeans

    I need help. I have JDK 1.6 and i have installed windows version of postgres. I have downloaded corresponding jdbc driver for postgres. I have added it to my project in drivers and database server. I have set it in the path as well. But when i try to connect to postgres server.. it gives an error : connection attemplt failed.

    Could neone plzz help me?

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    are you trying to connect from the server, or from a remote pc?

    Postgres' default setting is to not allow remote connection. You need to ensure that pg_hba.conf is configured to accept remote connections. Ref http://www.postgresql.org/docs/8.2/s...ntication.html
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •