web程序本地通过ip地址链接不到数据库oracle11g,异常错误 The Network Adapter could not establish the connection
来源:互联网 发布:海思3536 数据手册 编辑:程序博客网 时间:2024/06/05 05:52
异常错误 The Network Adapter could not establish the connection
plsql和sqlplus连接数据库正常但是程序连接是报如上的错误,解决方法:
找到oracle11g安装路径,我的是:D:\oracle11\Administrator\product\11.2.0\dbhome_2\NETWORK\ADMIN
找到listener.ora文件将里面的
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle11\Administrator\product\11.2.0\dbhome_2)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle11\Administrator\product\11.2.0\dbhome_2\bin\oraclr11.dll")
)
)
代码替换为下面的部分
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\oracle11\Administrator\product\11.2.0\dbhome_2)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\oracle11\Administrator\product\11.2.0\dbhome_2\bin\oraclr11.dll")
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL)
(ORACLE_HOME = D:\oracle11\Administrator\product\11.2.0\dbhome_2)
(SID_NAME = ORCL)
)
)
- web程序本地通过ip地址链接不到数据库oracle11g,异常错误 The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- 异常: The Network Adapter could not establish the connection
- 数据库连接异常The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Oracle the network adapter could not establish the connection 异常
- Io 异常: The Network Adapter could not establish the connection
- 关于金币充值的那件事儿
- 创建型模式
- c 语言头文件
- Xcode4 作战效率提升手册
- 有趣的图像处理算法
- web程序本地通过ip地址链接不到数据库oracle11g,异常错误 The Network Adapter could not establish the connection
- linux搜集的一些命令及用法
- Android中设定EditText的输入长度
- 跨服务器下载文档资源
- HDU 4649 Professor Tian(反状态压缩dp,概率)
- 和为N的种数——背包变形
- RTSP、HTTP、HTTPS、SDP四种协议详解
- 面试既是公司选择你,也是你选择公司
- 将博客搬至CSDN