C/C++教程

Listener refused the connection with the following error

本文主要是介绍Listener refused the connection with the following error,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

Listener refused the connection with the following error:ORA-12514, TNS:listener does not currently

当我们更换ip地址时,会遇到这样的报错,这是由于ip地址改变引起的“ORA-12541:TNS:无监听程序”错误。

我们在WINDOWS.X64_193000_db_home\network\admin\tnsnames.ora中修改其中你改变了的IP地址

https://img1.sycdn.imooc.com/63a424dc0001824309420477.jpg

完了之后重启Oracle监听服务。

或者你把你的IP地址改成文件中的固定IP地址,这样也可以连接上数据库。


这篇关于Listener refused the connection with the following error的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!