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!

How do I connect over SSH tunnel?

3260650Oct 25 2016 — edited Oct 31 2016

Hi folks,

I have:

host P: the PC from which I connect

host A: the host I have SSH access to, and that has access to host B

host B: the host where Oracle runs

GOAL: connect to Oracle running on B, from P

On the SSH connection to A, I have created  a tunnel from localhost:1527 to B:1527. When I telnet to localhost:1527 I get a reply, so the tunneling works.

But when I use DBVisualizer to try to connect to localhost:1527, I get a ORA-12514 TNS:listener does not currently know of service requested in connect descriptor ...

So clearly I'm missing something. Please note that I have no Oracle software on P, just the free version of DBvisualizer along with the Oracle driver jar file.

Please advise.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 28 2016
Added on Oct 25 2016
32 comments
10,203 views