社区
Java SE
帖子详情
The Network Adapter could not establish the connection
wudaoshengu
2009-10-29 10:05:24
我用java的jdbc链接oracle。这个问题网上说1、IP错误2、防火墙3、监听未启动
我的都不是这些问题,一周可能出现一两次,但pl/sql这时能连的上,很郁闷,很奇怪,不知大家遇到过没,还请不吝赐教!
...全文
72
5
打赏
收藏
The Network Adapter could not establish the connection
我用java的jdbc链接oracle。这个问题网上说1、IP错误2、防火墙3、监听未启动 我的都不是这些问题,一周可能出现一两次,但pl/sql这时能连的上,很郁闷,很奇怪,不知大家遇到过没,还请不吝赐教!
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
swandragon
2009-10-30
打赏
举报
回复
http://topic.csdn.net/u/20070521/14/f109a285-64b1-4196-83ca-e73e63297422.html
10g我没用过,9i2我把C:\oracle\ora92\network\admin目录下的listener.ora和tnsnames.ora文件中的HOST全部改为:HOST = 127.0.0.1 就好了,我以前遇见过这种情况。
LISTENER.ORA Network Configuration File: C:\oracle\ora92\network\admin\listener.ora
Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
)
)
)
zhangwonderful
2009-10-29
打赏
举报
回复
跟驱动程序有关,不知道你用的是什么版本驱动?
yuanhuiqiao
2009-10-29
打赏
举报
回复
有可能
duqiangcise
2009-10-29
打赏
举报
回复
如果是oracle应该用该驱动包:ojdbc14.jar.
wudaoshengu
2009-10-29
打赏
举报
回复
就classes12.jar那个包啊
数据库连接异常The
Network
Adapter
could not
es
tabl
ish
the
connection
本文介绍了如何解决使用Java连接Oracle数据库时出现的“The
Network
Adapter
could not
es
tabl
ish
the
connection
”错误。通过启动监听服务、修改listener.ora和tnsnam
es
.ora文件中的HOST设置,并确保监听端口处于监听状态来解决问题。
Io 异常: The
Network
Adapter
could not
es
tabl
ish
the
connection
解决
本文介绍了使用MyEclipse6.5和JDK1.6环境下通过JDBC连接Oracle11g数据库时出现的网络连接异常问题。主要错误信息为“The
Network
Adapter
could not
es
tabl
ish
the
connection
”。文中提供了解决方案,包括关闭防火墙的方法。
Io 异常: The
Network
Adapter
could not
es
tabl
ish
the
connection
本文介绍了解决使用JDBC连接Oracle数据库时出现的“The
Network
Adapter
could not
es
tabl
ish
the
connection
”错误的过程,包括检查网络配置、调整连接字符串等步骤。
Oracle远程代码连接报错:IO 错误: The
Network
Adapter
could not
es
tabl
ish
the
connection
Windows10安装Oracle11 - R2后,使用远程或代码连接报错‘IO 错误: The
Network
Adapter
could not
es
tabl
ish
the
connection
’。解决办法是修改Oracle安装目录下的tnsnam
es
.ora、listener.ora配置文件,将其中的localhost改为0.0.0.0,然后重启数据库和监听器,问题即可解决。
Oracle远程连接jndi报错The
Network
Adapter
could not
es
tabl
ish
the
connection
。。。。
Connection
refused: connec
本文记录了一次使用Kettle和DBeaver连接Oracle数据库时出现的连接异常问题,具体表现为The
Network
Adapter
could not
es
tabl
ish
the
connection
错误。通过排除防火墙设置、tnsnam
es
.ora配置、端口占用及服务器进程限制等因素后,最终确定为服务器端的安全策略调整导致无法访问,并给出了相应的解决方法。
Java SE
62,621
社区成员
307,251
社区内容
发帖
与我相关
我的任务
Java SE
Java 2 Standard Edition
复制链接
扫一扫
分享
社区描述
Java 2 Standard Edition
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章