【Oracle】Oracle設定遠端訪問
阿新 • • 發佈:2019-01-04
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
.....