当我尝试通过服务窗口连接oracle 10g和netbeans 7.2时出错

时间:2013-02-21 15:58:50

标签: java oracle10g

我收到错误: -

  

无法建立JDBC连接:预言:瘦:@localhost:1521:ORCL使用oracle.jdbc.OracleDriver(IO异常:网络适配器不能建立连接)

请帮帮我 并指导我做什么,因为我需要在我的网络项目中使用它。

1 个答案:

答案 0 :(得分: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)