ORA-12170: TNS:Connect timeout occurred

[Gathering the answers in the comments] The problem is that the Oracle service is running on a IP address, and the host is configured with another IP address. To see the IP address of the Oracle service, issue an lsnrctl status command and check the address reported (in this case is 127.0.0.1, the localhost): (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521))) … Read more

Determining location of relevant tnsnames.ora file

According Oracle these locations are searched for tnsnames.ora, resp. sqlnet.ora and ldap.ora: Oracle Net files in present working directory (PWD/CWD) TNS_ADMIN defined sessionally or by user-defined script TNS_ADMIN defined as a global environment variable TNS_ADMIN defined in the registry Oracle Net files in %ORACLE_HOME/network|net80\admin (Oracle default location) However, I am not sure whether each application/driver … Read more