Not able to connect visa SSL Tunnel with Multi host Thin mode #77
Replies: 2 comments 2 replies
-
The first thing you mentioned (calling Looking at your connect string, though, it looks like you may be using CMAN? It references |
Beta Was this translation helpful? Give feedback.
-
Hi , I tried many options so I used parse_connect_string() and other functions. Yes ideally connection string is easy method for us. Configuration is like below Client machine ---> Jump Server ---> Database We basically open a Terminal connection in SSH (Port 22) and create a tunnel to port 1480 of CMAN which will forward the connection to Database ssh -i user@jumpserver -L 127.0.0.1:1481:jumpserver:1480 connection string will be then like below (Note: we make the address list with 1 host as local machine with the same port as local tunnel port) (description=(address_list=(address=(protocol=tcp)(port=1481)(host=127.0.0.1))(address=(protocol=tcp)(port=1480)(host=Test_DB_Scan_Server_Name)))(connect_data=(service_name=ORA_TEST))(source_route=yes)) I am able to connect from SQL Developer which is using Thin driver and it works good. Should I raise a bug for this ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to use this module for connecting from Mac M1 Pro to Oracle Db via a SSH tunnel,
Usually our TNS connect string looks like below
tnsnames.ora is below
TESTDB =
(description=(address_list=(address=(protocol=tcp)(port=1481)(host=127.0.0.1))(address=(protocol=tcp)(port=1480)(host=Test_DB_Scan_Server_Name)))(connect_data=(service_name=ORA_TEST))(source_route=yes))
I open a ssh tunnel in 1481 , but when I give everything and try to connect it gives me timed out.
I am able to connect via SQL developer with the same connect string via JDBC thin driver with same SSH tunnel and ports
I tried with the directly giving tnsnames.ora file as a parameter itself
Still giving me the same timed out error
Could you please help
Beta Was this translation helpful? Give feedback.
All reactions