2013-02-21 68 views
0

連接我得到一個錯誤,我得到一個錯誤: -當我嘗試到Oracle 10g與netbeans7.2通過服務窗口

Cannot establish a connection to jdbc:oracle:thin:@localhost:1521:orcl using oracle.jdbc.OracleDriver (Io exception: The Network Adapter could not establish the connection)

請幫助我。
並指導我做什麼,因爲我需要在我的web項目中使用它。

+0

你確定你的數據庫服務器運行的? – user 2013-02-21 15:59:10

+0

或者如果他們正在運行/他們是否可以訪問? – 2013-02-21 16:01:46

+0

我不知道如何檢查數據庫服務器。請解釋如何檢查我所知道的我的isqlplus正在運行。 – user2096133 2013-02-21 16:35:44

回答

0

任何嘗試以下解決方案

1. If the network port is not open, or it is blocked by a firewall, you can try TELNET. 
2. If DB listener is not running or is binding to a different network interface, you can try either TELNET or else use Oracle client tools to connect. 
3. If again the problem persists, you may please start the listener through command prompt (lsnrctl start) 
相關問題