ORA-12514: TNS: no listener 解决方案

Posted 昨日微风

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ORA-12514: TNS: no listener 解决方案相关的知识,希望对你有一定的参考价值。

服务端:oracle 11g

客户端: pl/sql
问题描述
用客户端 pl/sql 连接登录的时候,提示 "ORA-12514: TNS: no listener"。
在服务器用 telnet localhost 1521 和 telnet 127.0.0.1 1521 都可以,但是 telnet IP 1251 不行。
解决方案
将服务端的 \\product\\11.2.0\\dbhome_1\\NETWORK\\ADMIN\\listener.ora 的
(ADDRESS = (PROTOCOL = TCP)(HOST =127.0.0.1)(PORT = 1521)) 
改为:
(ADDRESS = (PROTOCOL = TCP)(HOST =计算机名)(PORT = 1521))
然后重启 11gClientListener 服务
 
https://www.cnblogs.com/heige/p/3544762.html

以上是关于ORA-12514: TNS: no listener 解决方案的主要内容,如果未能解决你的问题,请参考以下文章

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

ORA-12514: TNS:listener does not currently know of service requested in connect

ORA-12514: TNS: listener does not currently know of service requested in connect descriptor

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

ORA-12514 TNS listener does not currently know of service re