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

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

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

原文地址:https://www.cnblogs.com/meng9688/p/11037917.html