1.配置监听
listener.ora
SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = oracle路径\product\11.2.0\dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:oracle路径\product\11.2.0\dbhome_1\bin\oraclr11.dll") )(SID_DESC = (GLOBAL_DBNAME = orcl) (ORACLE_HOME =oracle路径\product\11.2.0\dbhome_1) (SID_NAME = orcl) ))
LISTENER =
(DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) )(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ip地址)(PORT = 1521)) ) )红色部分为新加部分,然后重启oracle监听即可
为了安全性考虑,可以开启防火墙,开放端口/程序(主要是ftp)给指定ip访问。查看本地电脑外网ip(百度搜索‘ip’即可)
posted on 2017-06-27 15:48 阅读( ...) 评论( ...)