【Oracle】Oracle设置远程访问

Oracle 设置局域网访问,亲测。

只需要添加listener.ora的一条记录就行。

测试过程中,注意,在服务启停Oracle时,先停监听,后停当前实例Server。

....

 

# listener.ora Network Configuration File: D:\1__Server\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 = D:\1__Server\Oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\1__Server\Oracle\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
	  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
	  (ADDRESS = (PROTOCOL = TCP)(HOST = 10.20.61.134)(PORT = 1522))
    )
  )

ADR_BASE_LISTENER = D:\1__Server\Oracle

 

.....

 

你可能感兴趣的:(Level,4:,数据库)