1

I'm totally junior in this area :)

I have JAVA version 7 on my PC. enter image description here

I want to connect my PostgreSQL database to NetBeans. Based on my search I found that I should get JDBC driver. so I downloaded JDBC41 Postgresql Driver, Version 9.3-1100 jar files from here.

then based on what I found for connection remote Mysql, did similar changes to connect to my PostgreSQL database. enter image description here

As you can see in the image, connection couldn't established. Based on what my host says, I added my IP address to "Remote PostgreSQL Database Access" page of my host.

I'm not sure my host name is correct. I used Dedicated IP Address of my site. Any suggestion would be appreciated. Thanks

Community
  • 1
  • 1
Hesam
  • 52,260
  • 74
  • 224
  • 365

1 Answers1

1

My fault was entering wrong user name and pass instead of using user name and password of database :(

Hesam
  • 52,260
  • 74
  • 224
  • 365