允许外网访问:
1.将oracle主程序和oracle监听添加到windows防火墙例外。
2.配置监听器
或者修改listener.ora为如下文件(1.修改SID_DESC 2. (ADDRESS = (PROTOCOL = TCP)(HOST =xiong-PC)(PORT = 1521)))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\app\xdw\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:C:\app\xdw\product\11.2.0\dbhome_1\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = C:\app\xdw\product\11.2.0\dbhome_1)
(SID_NAME = orcl)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST =127.0.0.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = TCP)(HOST =xiong-PC)(PORT = 1521))
)
)
posted on 2015-10-15 14:27
鸟生鱼汤 阅读(1100)
评论(0) 编辑 收藏