Oracle 可通过localhost访问,无法同过IP访问,ORA-12541:TNS: no listener

Oracle 可通过localhost访问,无法同过IP访问,ORA-12541:TNS: no listener

解决办法:修改listener.ora
文件位置:xxxx\oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora

Oracle 可通过localhost访问,无法同过IP访问,ORA-12541:TNS: no listener_第1张图片
把localhost那行,跟下面复制一遍,把localhost改成你的ip

Oracle 可通过localhost访问,无法同过IP访问,ORA-12541:TNS: no listener_第2张图片

# listener.ora Network Configuration File: D:\work\java\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:\work\java\oracle\product\11.2.0\dbhome_1)
      (PROGRAM = extproc)
      (ENVS = "EXTPROC_DLLS=ONLY:D:\work\java\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 = 192.168.43.101)(PORT = 1521))
    )
  )

ADR_BASE_LISTENER = D:\work\java\oracle

你可能感兴趣的:(环境配置,数据库,oracle,数据库)