网络地址:
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)
Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的PC的设置有关这种异常的出现大致上有下面几种: 1。IP错误。...
注册表 MaxUserPort 的值 和“The Network Adapter could not establish the connection” “Address already in use” 错误分类: 错误解决 Oracle 2010-07-15 14...
Io 异常: The Network Adapter could not establish the connection 这个异常的出现一般与数据库和你的 PC 的设置有关 这种异常的出现大致上有下面几种: 1。IP ...
(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 异常: The Network Adapter could not establish the connection解决方案 - 群峰之巅的专栏 - CSDNBlog 群峰之巅的专栏从今往后,我将...
解决方法(1) # listener.ora Network Configuration File: D:\oracle\product\...The Netword Adapter could not establish the connection 错误:IO 异常 产生的...
see log file for complete stacktrac 3、 解决方法: 在对应的 domains 目录下...IO 错误 : The Network Adapter could not establish the connectionoracle....
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...
热门文档