virtual machine on cloud get time out when connect to database on intranet
We are testing the application running on cloud virtual machine that try to connect to database on intranet.
Our DB server already open the port 1525 (for SCAN listener) and 1521 (for Local listener).
The virtual machine use TNSNAMES.ORA and the connect string setup correctly.
Use TNSPING <service_name> works.
However, when trying to use sqlplus to connect to database, it gets TNS time out.
I put trace parameters on sqlnet.ora file on this machine as below:
TRACE_LEVEL_CLIENT=admin
TRACE_FILE_CLIENT=Client
TRACE_UNIQUE_CLIENT=ON
TRACE_TIMESTAMP_CLIENT=ON
TRACE_DIRECTORY_CLIENT=C:\oracle\18.0.0\client_64bit\network\trace