66000][12505] Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor oracle.n et.ns.NetException: Listener refuse

The idea after newly installed development tools such as the title database connection error shown appears.

1, Internet search a lot of articles, does not solve my problem. Later, carefully looked at the url:

Beginning url is like this.

jdbc:oracle:thin:@10.10.21.10:1521:s21_pdb_ipay

 

 

2, as is the idea of development tools automatically generated, SID does not match the request url, we need to change as the perfect solution to the problem, note the double slashes with a single slash.

jdbc: the Oracle: Thin: @ // database ip: port / examples

 

Guess you like

Origin www.cnblogs.com/yuanchaoyong/p/11570510.html