Change or close the FTP and HTTP ports of Oracle XDB

xiaoxiao2021-03-06  15

The default contains XDB features when creating a database. Once the database and Listener, Oracle XDB's HTTP service occupies 8080 ports, just and JBoss, Tomcat, etc. conflicts, Oracle XDB port settings are not in the configuration file, but in the database. Modifying the XDB HTTP and FTP service ports There are three types: 1. Use sys to log in to Oracle, use dbms_xdb modified port settings SQL> - Change the http / webdav port from 8080 to 8081sql> call dbms_xdb.cfg_update (UpdateXML (2 dbms_xdb) .cfg_get () 3, '/ xdbconfig / sysconfig / protocolconfig / httpconfig / http-port / text ()' 4, 8081)) 5 / Call Completed. SQL> - Change The FTP Port from 2100 to 2111sql> Call DBMS_XDB. CFG_UPDATE (2 dBMS_XDB.cfg_get () 3, '/ xdbconfig / sysconfig / protocolconfig / ftpconfig / ftp-port / text ()' 4, 2111)) 5 / Call Completed. SQL> Commit; commit complete.sql> EXEC DBMS_XDB.CFG_REFRESH; PL / SQL Procedure SuccessFully Completed.2, use OEM Console, select Database, XML Database, Configuration, and change the settings for XDB. 3. Remove the initialization parameters of the database: dispatchers = '(service = TCP)', the XDB HTTP and FTP services will be prohibited.

转载请注明原文地址:https://www.9cbs.com/read-45828.html

New Post(0)