oracle 11g JDBC连接数据库:IO异常The Network Adapter could not establish the connection 解决方法
来源:互联网 发布:石家庄优化网站 编辑:程序博客网 时间:2024/05/14 10:06
一、jdbc的drive选择:
oracle官网说明:
http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-112010-090769.html
二、选择正确的驱动后解决
Io 异常: The Network Adapter could not establish the connection
1、IP错误:
在设置URL时错误,例如:jdbc:oracle:thin:@192.168.0.111:1521:disease
数据库服务器是否正确:ping 服务器IP是否通畅。ping不通则将URL更改正确。
端口号是否正确。
进行一下操作:在DOS上键入sqlplus,检查oracle是否开启
一切正常则执行下面。
2、防火墙
如果机器上安装有放火墙,可能是服务器端口号屏蔽而造成的。关闭防火墙后,尝试重新连接。
- oracle 11g JDBC连接数据库:IO异常The Network Adapter could not establish the connection 解决方法
- 使用Oracle连接池错误 Cannot create PoolableConnectionFactory(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
- 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
- android - 为安全而设计 - 2 - 开发文档翻译
- xp下安装cygwin 搭建sshd服务
- hdu 3038 How Many Answers Are Wrong
- 左递归文法
- 案例分析:基于消息的分布式架构
- oracle 11g JDBC连接数据库:IO异常The Network Adapter could not establish the connection 解决方法
- 如何判断单链表里面是否有环【转载】
- 让gtest输出xml文件时只输出运行的用例
- 关于web.config中<customErrors>节点说明
- java serialVersionUID作用
- 网友精选的25个JAVA试题分享
- Eclipse常用快捷键
- linux的启动顺序
- 异构编程