当前位置:网站首页>Windows Oracle open remote connection Windows Server Oracle open remote connection

Windows Oracle open remote connection Windows Server Oracle open remote connection

2022-07-05 18:47:00 HaHa_ Sir

        Windows Oracle Open remote connection Windows Server Oracle Open remote connection

One 、 Scenario description

        1、Windows Installed on Oracle After the database server , Discovery can only be connected locally , Other machines cannot be connected , that Windows How to open Oracle What about remote connection ?

        2、 Basic configuration :Windows Server 2016 , Oracle11g

Two 、 Operation steps

        1、 Modify the configuration file to listen :

  • The file path is :C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora

  • The configuration file host Renamed as : Computer name  

 

LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-5O51KN8K7LE)(PORT = 1521))
    )
  )

        2、 restart Oracle service : Restart first Listener , Restart again ORCL service .(Oracle 11g Service startup sequence

 

        3、 to open up Oracle port ---- The easiest way , Direct closure : Windows A firewall .

        4、 to open up Oracle port 1521:

  • WIN key --- search “ A firewall ” --- Windows A firewall ---- Advanced settings

 

 

  • Inbound rules --- New rules --- port ---

 

  • Input port --- 1521 --- Allow connections --- next step

 

  • Take a name ---- orcl-1521

 

  • see Whether the rule is enabled

 

3、 ... and 、 Remote connection test

        1、 What we use here is dbeaver Data management tools , Note that yes is selected here :SID , Instead of Service Name !

 

        2、 Other :Navicat 、 PL/SQL Please try it yourself .

原网站

版权声明
本文为[HaHa_ Sir]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/186/202207051833290199.html