首页 > 数据库 >oracle Io 异常: The Network Adapter could not establish the connection

oracle Io 异常: The Network Adapter could not establish the connection

时间:2023-04-26 19:35:53浏览次数:42  
标签:Network Adapter oracle establish could ora


用jdbc连oracle的时候,报错:

java.sql.SQLException: Io 异常: The Network Adapter could not establish the connection



查看C:\oracle\product\10.2.0\db_1\NETWORK\ADMIN里的listener.ora和tnsnames.ora,发现端口变成了1527,不知道怎么回事,默认是1521啊。


改回来,就可以了。

标签:Network,Adapter,oracle,establish,could,ora
From: https://blog.51cto.com/u_1002776/6228663

相关文章