Může se změnit následovně a funguje v mém prostředí. Jednotka:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN
listener.ora
-
Před
LISTENER =(DESCRIPTION_LIST =(DESCRIPTION =(ADRESA =(PROTOKOL =IPC)(KEY =EXTPROC1521))(ADRESA =(PROTOKOL =TCP)(HOST =localhost)(PORT =1521))))
-
Po
LISTENER =(DESCRIPTION_LIST =(DESCRIPTION =(ADDRESS =(PROTOKOL =IPC)(KEY =EXTPROC1521))(ADDRESS =(PROTOKOL =TCP)(HOST =192.168.50.90)(PORT =1521))))
tnsnames.ora
-
Před
LISTENER_ORCL =(ADRESA =(PROTOKOL =TCP)(HOST =localhost)(PORT =1521))
ORCL =(DESCRIPTION =(ADRESA =(PROTOKOL =TCP)(HOST =localhost)(PORT =1521))(CONNECT_DATA =(SERVER =DEDICATED)(SERVICE_NAME =orcl)))
-
Po
LISTENER_ORCL =(ADRESA =(PROTOKOL =TCP)(HOST =192.168.50.90)(PORT =1521))
ORCL =(DESCRIPTION =(ADRESA =(PROTOKOL =TCP)(HOST =192 168.50.90)(PORT =1521))(CONNECT_DATA =(SERVER =VYHRANĚNÝ)(NÁZEV_SLUŽBY =orcl)))
Poté restartujte OracleOraDb11g_home1TNSListener služby a OracleServiceORCL servis.