Oracle数据库连接时“The Network Adapter could not establish the connection”“网络适配器无法建立连接问题”

找到C:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN文件夹下的listener.ora文件,其中需要设置监听的host和port,只需要将Oracle数据库中的设置为与之相同即可。

或者使用lsnrctl status命令,查看host的IP地址是什么,只要与Oracle中设置的一致即可连接成功。

 

posted @ 2019-06-17 09:23  头发马上掉光光  阅读(38859)  评论(0编辑  收藏  举报