如何更改oracle監聽器的埠
我們知道oracle 預設監聽器埠為1521,為了安全起見如何更改成我們自己定義的埠呢 如1523:
首先 lsnrctl stop
更改listener.ora檔案
# LISTENER.ORA Network Configuration File: D:\oracle\ora92\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = d10063)(PORT = 1523))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = gsid)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = paul)
)
(SID_DESC =
(GLOBAL_DBNAME = paul)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = paul)
)
(SID_DESC =
(GLOBAL_DBNAME = test)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = test)
)
(SID_DESC =
(GLOBAL_DBNAME = copy)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = copy)
)
(SID_DESC =
(GLOBAL_DBNAME = pubtest)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = pubtest)
)
)
tnsnames.ora 檔案
PUBTEST1523 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = d10063)(PORT = 1523))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = pubtest)
)
)
然後再lsnrctl start
就ok了
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-262711/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle rac scan監聽更改埠號Oracle
- Oracle 建立非1521埠監聽Oracle
- oracle之 單例項監聽修改埠Oracle單例
- Oracle 修改預設監聽埠故障分析Oracle
- 初始化監聽埠
- samba程序與監聽埠Samba
- windows10怎麼檢視監聽埠_windows10檢視監聽埠的方法Windows
- 如何移除事件監聽器事件
- mongodb如何更改埠號MongoDB
- oracle靜態監聽Oracle
- JMS監聽Oracle AQOracle
- Oracle監聽器中的XDB、XPT和PLSExtProc服務Oracle
- 12C RAC 修改監聽埠
- nginx 80埠監聽多個域名Nginx
- Oracle dblink監聽問題Oracle
- 6、oracle網路(監聽)Oracle
- shell埠監聽異常郵箱告警
- 使用java程式,監聽tcp協議埠JavaTCP協議
- Oracle 11g/12c 監聽器白名單的配置Oracle
- javaWeb中的監聽器JavaWeb
- oracle 最全的監聽、tnsnames.ora格式Oracle
- Spring中如何優雅的使用監聽器模式Spring模式
- Oracle 監聽異常處理Oracle
- Oracle啟動兩個監聽Oracle
- Oracle 監聽投毒COST解決Oracle
- JMeter—監聽器(十二)JMeter
- oracle監聽不到例項服務Oracle
- 如何監聽URL的變化?
- linux系統中監聽埠概念是什麼?Linux
- ssh遠端埠轉發無法監聽0.0.0.0
- 監聽器和過濾器過濾器
- oracle rac的scan監聽狀態Not All Endpoints RegisteredOracle
- 剝開比原看程式碼03:比原是如何監聽p2p埠的
- springBoot的過濾器,監聽器,攔截器Spring Boot過濾器
- Oracle 11g RAC 監聽日常管理Oracle
- 事件和事件監聽器事件
- zabbix-agent啟動之後10050埠未監聽
- jfinal中如何使用過濾器監控Druid監聽SQL執行?過濾器UISQL
- 獲取執行埠監聽的使用者身份auth-owner