Yexiong's java blog

          Yexiong's java blog

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

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

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

          搞了半天,原來是被防火墻給當(dāng)住了,汗……

          后來在防火墻開了3個(gè)端口, 8080, 8009, 8005, 問題搞定。

          posted on 2005-06-27 15:03 Yexiong 閱讀(15207) 評(píng)論(5)  編輯  收藏 所屬分類: Database

          Feedback

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

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

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

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

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

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

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

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

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

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


          主站蜘蛛池模板: 宝清县| 德令哈市| 新晃| 博湖县| 芦溪县| 衡阳县| 赤水市| 安岳县| 吴川市| 温州市| 延吉市| 肇源县| 景泰县| 岐山县| 错那县| 临清市| 昆山市| 六枝特区| 通城县| 河间市| 梧州市| 东乌珠穆沁旗| 怀柔区| 海南省| 云和县| 麻城市| 藁城市| 鄱阳县| 石泉县| 乌恰县| 台北县| 游戏| 门头沟区| 淮南市| 宝清县| 绥化市| 克什克腾旗| 齐齐哈尔市| 慈利县| 安乡县| 阿城市|