To resolve this issue,
Goto your oraclexe directory and navigate to network/ADMIN
e.g oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
Open (listener.ora) in notepad and replace the HOST address with your localhost or current-ip
e.g
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
Open (tnsnames.ora) with notepad and replace HOST address with your localhost or current-ip address.
e.g
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
Goto your oraclexe directory and navigate to network/ADMIN
e.g oraclexe\app\oracle\product\11.2.0\server\network\ADMIN
Open (listener.ora) in notepad and replace the HOST address with your localhost or current-ip
e.g
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
)
)
DEFAULT_SERVICE_LISTENER = (XE)
Open (tnsnames.ora) with notepad and replace HOST address with your localhost or current-ip address.
e.g
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)
Open your command prompt as adminstrator and run lsnrctl start
NB: You might have to map localhost to 127.0.0.1 in the C:\Windows\System32\drivers\etc\host file by adding 127.0.0.1 localhost
Comments
Post a Comment