Defining local IP address when opening connections to database - Mailing list pgsql-jdbc

From Michael Bauland
Subject Defining local IP address when opening connections to database
Date
Msg-id 4F578AB8.2050002@knipp.de
Whole thread Raw
Responses Re: Defining local IP address when opening connections to database  (Dave Cramer <pg@fastcrypt.com>)
Re: Defining local IP address when opening connections to database  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: Defining local IP address when opening connections to database  ("David Johnston" <polobo@yahoo.com>)
Re: Defining local IP address when opening connections to database  (Scott Harrington <scotth01@sns-usa.com>)
List pgsql-jdbc
Hi,

I've got a problem when using the PostgreSQL JDBC driver to open a
connection to a database (not using SSL). The server on which I'm using
the driver has several IPs configured, but I would like to use a certain
IP (since only for that IP the firewalls have been set-up to allow the
connection to the database). Looking at the documentation I couldn't
find a way to define this local IP.
Have I missed something? If not, would it be possible to add this
feature of defining the local IP when setting up a connection?

Cheers,

Michael

pgsql-jdbc by date:

Previous
From: Francisco Javier Morosini Eguren
Date:
Subject: PgNotificationHelper
Next
From: Dave Cramer
Date:
Subject: Re: Defining local IP address when opening connections to database