DB/Oracle

Oracle 12c 외부접속 오픈

강서버 2020. 5. 12. 13:40
728x90
반응형

Oracle Install Directory : C:\app\oracle\product\12.2.0\dbhome_1

 

listener.ora edit

C:\app\oracle\product\12.2.0\dbhome_1\network\admin\listener.ora

 

Before

  SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\oracle\product\12.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\oracle\product\12.2.0\dbhome_1\bin\oraclr12.dll")
    )
  )

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

 

After

: HOST Modify localhost -> USER-PC

HOST find : Windows Key + Pause/Break Key => Computer Name : USER-PC

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = CLRExtProc)
      (ORACLE_HOME = C:\app\oracle\product\12.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:C:\app\oracle\product\12.2.0\dbhome_1\bin\oraclr12.dll")
    )
  )

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = USER-PC)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
  )
  
728x90
반응형

'DB > Oracle' 카테고리의 다른 글

Oracle JDBC 12.2.0.1 (ojdbc8.jar) + Nexus + Maven pom.xml setting  (0) 2020.06.06