Io 异常: The Network Adapter could not establish the connection解决方案

这个异常在网上一般能找到三种解决方法 。

--ip 错误

--防火墙

--注册表


本人遇到的问题也是属于ip错误。

解决流程:--这里我使用的Ip是192.168.1.62 ,局域网ip,但是连接数据库时dbeaver,java源码的方式连接失败,toad连接成功。

                  --用lsnrctl status 看到如下图Io 异常: The Network Adapter could not establish the connection解决方案

                --结论:不能使用局域网的ip,使用127.0.0.1