I have Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production installed on virtual machine(VirtualBox, OS: Oracle Linux 7).
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).
But I have ORA-12170 error when I try to connect to oracle from the host OS (Windown 7 x64) by using the same command.
ping 192.168.56.101 command from host OS is successfull.
Now I'm using host only network, but I had same results with bridged connection.
Here is my tnslistener.ora file:
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)
What am I doing wrong?