JDBC connections: How to specify the port for data-transfer?

Posted by LeO on Stack Overflow See other posts from Stack Overflow or by LeO
Published on 2010-04-26T10:19:11Z Indexed on 2010/04/26 10:23 UTC
Read the original article Hit count: 400

Filed under:
|
|

I wanto to run my JDBC-connection (either Oracle or MSSQL) through a proxy-server. Reason for this is to have additional controls of the traffic, especially for developing.

I know, I could specify the proxy, which runs on my machine, and the port in the connection-string. But the specified connection-settings are only taken as some kind of handshake to agree on which port the data is finally transferred. And this is defenitly not the port which I have under proxy-control.

So, does anybody have an idea, how to specify the port for the data-transfer? I would prefer if this could be done in the connection-string. The same issue applies for Oracle and MSSQL.

Thx

LeO

© Stack Overflow or respective owner

Related posts about jdbc-driver

Related posts about port