PLSQL访问Oracle库,服务端本机可以,局域网其他电脑访问不了

解决方法:

需要修改一下Oracle监听服务的配置文件 listener.ora

 

文件路径:% product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora


LISTENER =

  (DESCRIPTION_LIST =

    (DESCRIPTION =

      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))

      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.120)(PORT = 1521)) //添加上服务端本机的ip地址即可

    )

  )

你可能感兴趣的:(Oracle)