Io 异常 The Network Adapter could not establish the connection的三种解决方法
来源:互联网 发布:纸飞机软件exe 编辑:程序博客网 时间:2024/06/06 01:27
1.数据库配置错误
在设置URL时错误:例如数据库配置的URL是:jdbc:oracle:thin:@192.168.0.36:1521:orcl,通过ping命令可以坚持服务器IP是否正确
端口号错误:一般不会错误。Oracle默认的端口是1521,Mysql默认的端口是3306
2.防火墙
如果机器上安装有放火墙,可能是服务器端口号屏蔽而造成的。关闭防火墙后,尝试重新连接
3.数据库监听未启动
修改PC上注册表中的ImagePath值。我下面以主流的数据库ORACLE为例,重新启动数据库监听:
开始 → 运行→ 输入CMD→ 进入DOS命令提示界面 ,d:>lsnrctl LSNRCTL> status 或者 LSNRCTL> start
0 0
- Io 异常: The Network Adapter could not establish the connection的三种解决方法
- Io 异常 The Network Adapter could not establish the connection的三种解决方法
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- Io 异常: The Network Adapter could not establish the connection
- mysql 连接数据库实例java代码
- nyoj 括号匹配(二) 15 (区间dp) 好题
- 黑马程序员——oc加强学习(协议)
- 研究生第一个月学习y我喜欢看博客总结
- 黑马程序员-----设计模式
- Io 异常 The Network Adapter could not establish the connection的三种解决方法
- Jpype的使用
- mongodb中如何创建数据库
- 由微信推送引发的SQL join语句总结,顺便复习一下下MySQL
- 【总述】软件工程
- 异常
- 2013 ACM-ICPC长沙赛区全国邀请赛So Easy! && 2015 ACM/ICPC Asia Regional Shenyang Online-Best Solver
- 开启Java之路——不走弯路,就是捷径,欲速则不达
- Week2