Може да се промени по следния начин и работи в моята среда. Диск:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
listener.ora
-
Преди
LISTENER =(DESCRIPTION_LIST =(DESCRIPTION =(ADDRESS =(PROTOCOL =IPC)(KEY =EXTPROC1521))(ADDRESS =(PROTOCOL =TCP)(HOST =localhost)(PORT =1521))))
-
След
LISTENER =(DESCRIPTION_LIST =(DESCRIPTION =(ADDRESS =(PROTOCOL =IPC)(KEY =EXTPROC1521))(ADDRESS =(PROTOCOL =TCP)(HOST =192.168.50.90)(PORT =1521))))
tnsnames.ora
-
Преди
LISTENER_ORCL =(ADDRESS =(PROTOCOL =TCP)(HOST =localhost)(PORT =1521))
ORCL =(ОПИСАНИЕ =(АДРЕС =(PROTOCOL =TCP)(HOST =localhost)(PORT =1521))(CONNECT_DATA =(SERVER =DEDICATED)(SERVICE_NAME =orcl)))
-
След
LISTENER_ORCL =(АДРЕС =(ПРОТОКОЛ =TCP)(ХОСТ =192.168.50.90)(ПОРТ =1521))
ORCL =(ОПИСАНИЕ =(АДРЕС =(PROTOCOL =TCP)(HOST =192.168.50.90)(PORT =1521))(CONNECT_DATA =(SERVER =DEDICATED)(SERVICE_NAME =orcl)))
След това рестартирайте OracleOraDb11g_home1TNSListener услуга и OracleServiceORCL обслужване.