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 閱讀(15207) 評論(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  回復  更多評論   


          主站蜘蛛池模板: 景德镇市| 台北县| 郓城县| 阳山县| 宁海县| 大关县| 邛崃市| 九龙城区| 双柏县| 贞丰县| 昆山市| 宿松县| 鄂托克旗| 富宁县| 伊川县| 横山县| 花垣县| 衡水市| 沙洋县| 古浪县| 新建县| 汝南县| 同德县| 松江区| 遂川县| 新竹市| 诏安县| 内乡县| 濮阳县| 会东县| 靖远县| 昌吉市| 包头市| 怀仁县| 秦皇岛市| 太谷县| 澄江县| 黎平县| 乐清市| 彩票| 乐昌市|