Oracle_Exception_01_The Network Adapter could not establish the connection

简介: 1.IP错误或端口错误。   在设置URL时错误,例如 url="jdbc:oracle:thin:@192.168.1.11:1521:mas" 数据库服务器不正确:ping 服务器IP是否正确。

1.IP错误或端口错误。 

 在设置URL时错误,例如

url="jdbc:oracle:thin:@192.168.1.11:1521:mas"

数据库服务器不正确:ping 服务器IP是否正确。不正确,将URL更改为正确

端口号错误:一般不会错误但可能使用多个oracle版本,导致端口号为1521的情况。  修改为正确的端口号,执行下面第2步。   

 

2.防火墙 

如果机器上安装有放火墙,可能是服务器端口号屏蔽而造成的。关闭防火墙后,尝试重新连接。 仍然不行,执行第3步。   

 

3、数据库监听器未启动

在linux中,执行命令:

lsnrctl start

sqlplus / as sysdba

startup

 

目录
相关文章
|
SQL Oracle 关系型数据库
解决Oracle的状态: 失败 -测试失败: IO 错误: The Network Adapter could not establish the connection
解决Oracle的状态: 失败 -测试失败: IO 错误: The Network Adapter could not establish the connection
1714 0
解决Oracle的状态: 失败 -测试失败: IO 错误: The Network Adapter could not establish the connection
|
SQL Oracle 网络协议
SQL Developer 连接 oracle数据库 报错 Io 异常 The Network Adapter could not establish the connection的三种解决方法
SQL Developer 连接 oracle数据库 报错 Io 异常 The Network Adapter could not establish the connection的三种解决方法
1217 0
SQL Developer 连接 oracle数据库 报错 Io 异常 The Network Adapter could not establish the connection的三种解决方法
|
SQL Oracle 关系型数据库
ORACLE的Dead Connection Detection浅析
在复杂的应用环境下,我们经常会遇到一些非常复杂并且有意思的问题,例如,我们会遇到网络异常(网络掉包、无线网络断线)、客户端程序异常(例如应用程序崩溃Crash)、操作系统蓝屏、客户端电脑掉电、死机重启等异常情况,此时数据库连接可能都没有正常关闭(Colse)、事务都没有提交,连接(connections)就断开了。
1297 0
|
Oracle 关系型数据库 数据库连接
|
Oracle 关系型数据库
0120ORACLE的Dead Connection Detection
[20170120]ORACLE的Dead Connection Detection浅析.txt --下午看了链接:http://www.cnblogs.com/kerrycode/p/6292557.
965 0
|
Oracle 关系型数据库 数据库
navicat连接oracle数据库报ORA-28547: connection to server failed, probable Oracle Net admin error错误的解决方法
原文: navicat连接oracle数据库报ORA-28547: connection to server failed, probable Oracle Net admin error错误的解决方法 navicat是通过oracle客户端连接oracle服务器的.
4461 0
|
SQL Oracle 关系型数据库
【原】oracle session and connection
作者:david_zhang@sh 【转载时请以超链接形式标明文章】链接:http://www.cnblogs.com/david-zhang-index/archive/2012/09/13/2682876.html 连接和会话不是同义词。
781 0