oracle 外网访问
Posted smile_elims
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle 外网访问相关的知识,希望对你有一定的参考价值。
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’即可)
以上是关于oracle 外网访问的主要内容,如果未能解决你的问题,请参考以下文章