Yexiong's java blog

Yexiong's java blog

今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗……

今天碰到,Tomcat 连 Oracle 数据库时出现如下异常信息,

org.apache.commons.dbcp.SQLNestedException:Cannot create PoolableConnectionFactory
(Io exception : The Network Adapter could not establish the connection)

搞了半天,原来是被防火墙给当住了,汗……

后来在防火墙开了3个端口, 8080, 8009, 8005, 问题搞定。

posted on 2005-06-27 15:03 Yexiong 阅读(15188) 评论(5)  编辑  收藏 所属分类: Database

Feedback

# re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗…… 2008-10-10 15:42 xzjian

我也碰到了同样的问题!  回复  更多评论   

# re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗…… 2008-10-10 15:44 xzjian

上面发错了!
我也碰到了同样的问题
但是你说的打开防火墙端口我不知道要怎么样才算打开
麻烦你告诉我一下要怎么打开!谢谢了啊!  回复  更多评论   

# re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗…… 2009-03-08 14:16 庆峰

好答案啊
  回复  更多评论   

# re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗…… 2010-07-26 16:06 flycom

8080, 8009, 8005这些都是Tomcat的端口啊,和链接数据库没有关系啊,数据库的端口是1521!  回复  更多评论   

# re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原来是被防火墙给当住了,汗…… 2010-08-02 09:54 卢迪卡斯

....我的防火墙是关闭的,,
还是碰到了这个错,,,Why  回复  更多评论   



只有注册用户登录后才能发表评论。


网站导航: