2013-02-21 67 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) 
相关问题