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

From Kevin Grittner
Subject Re: Defining local IP address when opening connections to database
Date
Msg-id 4F573B610200002500045F9F@gw.wicourts.gov
Whole thread Raw
In response to Defining local IP address when opening connections to database  (Michael Bauland <Michael.Bauland@knipp.de>)
List pgsql-jdbc
Michael Bauland <Michael.Bauland@knipp.de> wrote:

> 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?

You probably either need to read this:

http://www.postgresql.org/docs/current/interactive/runtime-config-connection.html#RUNTIME-CONFIG-CONNECTION-SETTINGS

or this:

http://jdbc.postgresql.org/documentation/head/connect.html

-Kevin

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Defining local IP address when opening connections to database
Next
From: "David Johnston"
Date:
Subject: Re: Defining local IP address when opening connections to database