0

我收到一个错误:-

无法使用 oracle.jdbc.OracleDriver 建立与 jdbc:oracle:thin:@localhost:1521:orcl 的连接(Io 异常:网络适配器无法建立连接)

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

4

1 回答 1

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)
于 2013-02-21T17:42:18.827 回答