How to modify the default XDB oralce listening port

The default Oracle9i XML DB the default HTTP port is set to 8080, which is a very common ports, and many other WebServer will use this port

  If we installed it, it is best to change it, to avoid conflict, if you do not use it, it is best not to install

  Provides three ways to modify the

  1.dbca, select your database, then Standard Database Features-> Customize-> Oracle XML DB option, enter this screen you should know how to change it up.

  2.OEM console, modify the configuration inside the XML Database

  3. oracle package provided:

  - the HTTP / WEBDAV port changed from 8080 to 8081

  SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),

  '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()',8081))

  /

  - FTP port to change from 2100 to 2111

  SQL> call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(),

  '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()',2111))

  /

  SQL> commit;

  SQL> exec dbms_xdb.cfg_refresh;

  - Check whether the changes have been successful

SQL> select dbms_xdb.cfg_get from dual;

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11113409.html