Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Not possible to connect via Java application (JDBC driver) but SQLplus connects

Fran Casas ReyesSep 27 2024

Hi!

I have developed an application on Java, which uses JDBC driver. Locally (in the server machine) it works perfect, but now, I want to connect via an external net (using remote IP with DDNS).

SQLplus can connect without problem, but my application cannot connect, having the IP correctly changed.

Any ideas about this? I have been searching on posts but I have not find anything. In some sides I have read of needing a listener working on the machine with the application (the one which wants to connect to the remote server), but I have also read that the remote listener on the server must be capable of resolving the remote petitions directly from my application with JDBC.

I also don't know how to set up a listener without installing a DB (I have it working on the remote server machine), if the problem is related to that.

Any comment is appreciated.

Thanks in advance.

Comments
Post Details
Added on Sep 27 2024
0 comments
54 views