![](http://dl2.iteye.com/upload/attachment/0126/6516/0ce6df16-d7a4-3862-abe4-378b2398d35a.jpg)
The configuration process is as follows:
![](http://dl2.iteye.com/upload/attachment/0126/6518/030dfbea-9543-3ba3-b44c-5d2165c02641.jpg)
![](http://dl2.iteye.com/upload/attachment/0126/6520/9243083e-36b3-319f-a97f-4779b74c1466.jpg)
![](http://dl2.iteye.com/upload/attachment/0126/6522/8fb9dcbd-4737-3702-8989-bb62d1b171a7.jpg)
The oracle home directory is E:\oracle\product\11.2.0\dbhome_1 to
![](http://dl2.iteye.com/upload/attachment/0126/6524/a4b471b4-3633-3270-a6fa-b8d84e6b5af4.jpg)
restart the listener service
![](http://dl2.iteye.com/upload/attachment/0126/6526/f610ff39-43df-35d1-be30-6d54464d6131.jpg)
. The content of the prepared listener.ora file is:
# listener.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = E:\oracle\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:E:\oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll") ) (SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME = E:\oracle\product\11.2.0\dbhome_1) (SID_NAME = ORCL) ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.200.113)(PORT = 1521)) ) ) ADR_BASE_LISTENER = E:\oracle
tnsnames.ora file content
# tnsnames.ora Network Configuration File: E:\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora # Generated by Oracle configuration tools. ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ORCL = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.200.113)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
plsql configuration
#D:\Programs\instantclient_12_1\Network\Admin\tnsnames.ora orcl200.113 = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.200.113)(PORT = 1521)) ) (CONNECT_DATA = (SERVER = DEDICATED) (SID = orcl) ) )