Connecting to remote PostGres DB

Hi,

I want access a Postgres Database from a java program. The database is running on remote mahine. I have access to that Database. it can be accessed from computers within network

The problem is the firewall doesnt allow TCP connections from outside network to specific port DB is running on.

Can anybody tell me how to access that database.

I have heard of Tunneling, can anybody guide me about that

--ss

[445 byte] By [swiftsofta] at [2007-11-27 4:59:01]
# 1

You just need to configure that firewall to accept requests on the desired port. PostgreSQL uses a default port of 5432, unless there was a change in the default configuration. Refer to the manual of the firewall or gently ask the network/system administrator. This has actually nothing to do with JDBC, you know? :)

BalusCa at 2007-7-12 10:15:10 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...