Skip to content
Advertisement

Tag: ip-address

Can I specify *source* IP address for a JDBC connection?

I have a Java application that connects to a database with a JDBC driver. It happens to be a Postgres instance, but I’m looking for a general solution if it exist. The server on which the application runs has multiple IP address, all in the same subnet. The JDBC connection is established using the ‘primary’ IP of the server. I

Advertisement