文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 计算机软件及应用 > Io 异常 The Network Adapter could not establish the connection的三种解决方法
侵权投诉

Io 异常 The Network Adapter could not establish the connection的三种解决方法

网络地址:

doc.guandang.net

主题:Io 异常: The Network Adapter could not establish the connection的三种解决方法

内容部分

2010-06-02 13:03

Io 异常: The Network Adapter could not establish the connection

这个异常的出现一般与数据库和你的PC的设置有关

这种异常的出现大致上有下面几种:

1。IP错误。

在设置URL时错误,例如:jdbc:oracle:thin:@192.168.0.36:1521:sharp

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

端口号错误:一般不会错误。

进行一下操作:在DOS上键入sqlplus,检查oracle是否开启

一却正常,执行下面第2步。

2。防火墙

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

3。数据库监听未启动 修改PC上注册表中的ImagePath值。

我下面以现在主流的数据库ORACLE为例

重新手动启动数据库监听:

1:开始 → 运行→ 输入CMD→ 进入DOS命令提示界面

d:>lsnrctl

LSNRCTL> status

或者

LSNRCTL> start

以下是手动启动数据库的方法:

在运行处执行regedit进入注册表到

开始 →运行→ regedit

按下面路径

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\OracleOraHome90TNSListener

找到OracleOraHome90TNSListener(我用的是Oracle9i 其他的版本的应该是OracleOraHomexxxTNSListener)

第1页

你可能喜欢

热门文档

相关文档

  • Io 异常 TheNetwork Adapter could not establish the ...

    Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的PC的设置有关这种异常的出现大致上有下面几种: 1。IP错误。...

  • ...Adapter could not establish the connection” “A...

    注册表 MaxUserPort 的值 和“The Network Adapter could not establish the connection” “Address already in use” 错误分类: 错误解决 Oracle 2010-07-15 14...

  • ...Adapter could not establish the connection

    Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的 PC 的设置有关 这种异常的出现大致上有下面几种: 1。IP ...

  • oracle中EM的问题解决

    (2)Io 异常: The Network Adapter could not establish the connection 问题分析: 在改变了 ip 或计算机名的情况下出现,一般是监听服务有问题。 解决办法: 第一...

  • 异常错误总结

    (Io 异常: The Network Adapter could not establish the connection) 网络适配...34 more 解决:查找API,解释如下(本错误是因为该方法没有编译) InvocationTarget...

  • java_sql_SQLException Io 异常

    java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案 - 群峰之巅的专栏 - CSDNBlog 群峰之巅的专栏从今往后,我将...

  • Oracle常见问题及解决方法(个人遇到问题解决经验)

    解决方法(1) # listener.ora Network Configuration File: D:\oracle\product\...The Netword Adapter could not establish the connection 错误:IO 异常 产生的...

  • Weblogic常见问题-sy

    see log file for complete stacktrac 3、 解决方法: 在对应的 domains 目录下...IO 错误 : The Network Adapter could not establish the connectionoracle....

  • Java异常处理笔记

    Io 异常: The Network Adapter could not establish the connection teException ...创建 访问属性或调用方法 序2.驱动程序名字错误 没有得到数据 解决方案 eg:...

  • 连接数据库异常

    java.sql.SQLException Io 异常:The Network Adapter could not establish the connection 是因为url 的ip地址没有写成自己家主机的ip地址 8、java.sql.SQLException...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email