【发布时间】:2013-04-21 08:41:46
【问题描述】:
我正在尝试使用 Netbeans(内置)服务/数据库连接到托管在 https://postgres.heroku.com/databases 中的数据库。我收到此错误
无法与 jdbc:postgresql://ec2-xx-xxx-xxx-xxx.compute-1.am 建立连接
我试过这个没有问题: 1. Netbeans 连接到本地 postgres 数据库。 2. 使用 PgAdmin III 连接 heroku postgres 数据库。
我尝试下载最新的 postgres 驱动程序并在 netbeans 中使用它来创建连接,但同样的错误。
提前致谢!
【问题讨论】: