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地址 image 完了之后重启Oracle监听服务。

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

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0