BUG #6102: JDBC BIND Source IP Address

From: "Angel Dabov" <onzi(at)ustrem(dot)org>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6102: JDBC BIND Source IP Address
Date: 2011-07-08 15:09:35
Message-ID: 201107081509.p68F9ZrP035079@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 6102
Logged by: Angel Dabov
Email address: onzi(at)ustrem(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Cesar Franco 2011-07-08 19:12:41 BUG #6103: Do not allow installation on Mac OS X Lion (GM)
Previous Message Tom Lane 2011-07-08 14:53:57 Re: BUG #6097: Server crash when enabling custom_variable_classes