ITeye博客

How to change the XMLDB Http and FTP Ports for Oracle

ymanyang · 2012-11-10 12:18 · Database · 操作系统 · Markdown

To change the HTTP and FTP ports for Oracle XMLDB, we only need to call the following command in Oracle with DBA role.

 

  • change HTTP port from 8080 to 9999
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 9999));

 

  • change FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111));

 

  • refresh settings
exec dbms_xdb.cfg_refresh;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。