title: ORA-12170: TNS:Connect timeout occurred When try to connect from host OS
body: <p>I have Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production installed on virtual machine(VirtualBox, OS: Oracle Linux 7). </p>
  
  <p>All going normal, when I try to connect from the virtual machine where oracle database installed. (sqlplus sys/sys_password@192.168.56.101/XE as sysdba).</p>
  
  <p>But I have <strong>ORA-12170</strong> error when I try to connect to oracle from the host OS (Windown 7 x64) by using the same command.</p>
  
  <p>ping 192.168.56.101 command from host OS is successfull.</p>
  
  <p>Now I'm using host only network, but I had same results with bridged connection.</p>
  
  <p>Here is my tnslistener.ora file:</p>
  
  <pre><code>SID_LIST_LISTENER =
   (SID_LIST =
    (SID_DESC =
     (SID_NAME = XE)
     (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
    )
    (SID_DESC =
     (SID_NAME = PLSExtProc)
     (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
     (PROGRAM = extproc)
    )
  )
  
  LISTENER =
   (DESCRIPTION_LIST =
    (DESCRIPTION =
     (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
     (ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
    )
   )
  
  DEFAULT_SERVICE_LISTENER = (XE)
  </code></pre>
  
  <p>What am I doing wrong?</p>