[cx-oracle-users] make cx_Oracle bind to a specific IP address or network interface?
Brought to you by:
atuining
|
From: Daniel L. <dl...@gm...> - 2016-04-20 00:50:17
|
Hi all, Is there a way to make sure that cx_Oracle uses a specific network interface or IP address for its connections to Oracle server? This would be something comparable to "ssh -b BIND_ADDRESS". The reason I need this is because I'm using a split VPN tunnel to connect to a client's Oracle server, and I get errors when I tried to connect using the non-VPN network interface. Because I'm mostly developing and testing as a non-privileged user, adding a route that forces the client server connections to a specific interface isn't ideal. I thought this might be an Oracle client library reponsibility, and looked through the Oracle 11g environment variables in the documentation, however I don't see anything relevant: https://docs.oracle.com/cd/E11882_01/server.112/e10839/admin_ora.htm#UNXAR116 Any suggestions on how to make cx_Oracle use a specific interface? Thanks, Dan |