From: Angel Dabov <onzi@ustrem.org>
To: pgsql-bugs@postgresql.org
Subject: BUG #6102: JDBC BIND Source IP Address
Date: Fri, 8 Jul 2011 15:09:35 GMT
Message-ID: <201107081509.p68F9ZrP035079@wwwmaster.postgresql.org> (raw)
The following bug has been logged online:
Bug reference: 6102
Logged by: Angel Dabov
Email address: onzi@ustrem.org
PostgreSQL version: JDBC 8.3
Operating system: Windows
Description: JDBC BIND Source IP Address
Details:
Hi,
We have Tomcat Windows server with five applications which listen on
different IP addresses. Every application connects Postgres DB on different
server. These IP addresses are aliases on one NIC in same subnet.
The problem:
Every connection to the DB from JDBC driver bind different IP for source
address. We have firewall before DBs and need to use specific source ip
address for every application.
Is there any chance to fix in PGstream.java
socket(host, port) with socket(host, port, sourceaddress, null) and give us
prop to set sourceaddress?
Thank You,
Angel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: onzi@ustrem.org
Subject: Re: BUG #6102: JDBC BIND Source IP Address
In-Reply-To: <201107081509.p68F9ZrP035079@wwwmaster.postgresql.org>
References: <201107081509.p68F9ZrP035079@wwwmaster.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox