java.sql.SQLException: The Network Adapter could not establish the connection
来源:互联网 发布:百度软件中心开发者 编辑:程序博客网 时间:2024/06/06 01:34
连接另外一台电脑上的Oracle出现问题。
首先,检查连接字符串有没有错误;
String url = “jdbc:oracle:thin:@192.168.43.247:1521:orcl”;
其次,检查网络是否联通;(cmd ping)
ping 192.168.43.247
然后,关掉数据库所在主机的防火墙;
最后,如果还不行,Oracle配置和移植工具中的Net Manager进行IP配置。
Oracle Net Manager - 本地 - orcl - 地址配置
添加数据库所在主机的IP及默认端口1521。
阅读全文
0 0
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection解决方案
- 关于java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- (java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection)
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection可能问题之一
- Caused by: java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- Java.Sql.Sqlexception: Io Exception: The Network Adapter Could Not Establish The Connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- java.sql.SQLException: The Network Adapter could not establish the connection
- 异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
- java.sql.SQLException: Io 异常:The Network Adapter could not establish the connect
- Polynomial operation with C++
- js--8.交互方式
- 【opencv学习之十三】opencv阈值分割threshold函数
- 寻找最长回文子串
- bzoj1370 [Baltic2003]Gang团伙
- java.sql.SQLException: The Network Adapter could not establish the connection
- VS Code中转换大小写功能
- Linux安装教程--Ubuntu使用简单手册之安装篇
- GET、POST和HEAD的区别?
- Leetcode之Valid Triangle Number 问题
- 【C++】浅拷贝和深拷贝以及怎样实现一个简单的string类!!!
- 训练集---训练赛14
- 第3周项目4(1)- 顺序表应用
- Android UI 模板设计——Topbar