Yexiong's java blog

          Yexiong's java blog

          今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原來是被防火墻給當住了,汗……

          今天碰到,Tomcat 連 Oracle 數(shù)據(jù)庫時出現(xiàn)如下異常信息,

          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

          我也碰到了同樣的問題!  回復(fù)  更多評論   

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

          上面發(fā)錯了!
          我也碰到了同樣的問題
          但是你說的打開防火墻端口我不知道要怎么樣才算打開
          麻煩你告訴我一下要怎么打開!謝謝了啊!  回復(fù)  更多評論   

          # re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原來是被防火墻給當住了,汗…… 2009-03-08 14:16 慶峰

          好答案啊
            回復(fù)  更多評論   

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

          8080, 8009, 8005這些都是Tomcat的端口啊,和鏈接數(shù)據(jù)庫沒有關(guān)系啊,數(shù)據(jù)庫的端口是1521!  回復(fù)  更多評論   

          # re: 今天碰到Io exception : The Network Adapter could not establish the connection,搞了半天,原來是被防火墻給當住了,汗…… 2010-08-02 09:54 盧迪卡斯

          ....我的防火墻是關(guān)閉的,,
          還是碰到了這個錯,,,Why  回復(fù)  更多評論   


          主站蜘蛛池模板: 河北省| 武清区| 邯郸市| 班玛县| 鹿邑县| 柘城县| 通许县| 太和县| 启东市| 荥阳市| 东辽县| 乌鲁木齐县| 梅河口市| 溧阳市| 昌吉市| 巫溪县| 仙居县| 南华县| 文成县| 天全县| 兴化市| 马龙县| 忻州市| 商水县| 临沧市| 白朗县| 晋城| 浦东新区| 崇左市| 德阳市| 陕西省| 太白县| 中西区| 剑阁县| 东安县| 梨树县| 玉树县| 锦屏县| 湘阴县| 潜山县| 克拉玛依市|