开始->程序……“运行 SQL 命令行”进去到sqlplus中 执行
conn sys/11111 as sysdba
-- Change the HTTP/WEBDAV port from 8080 to 8091
call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()' , 8091))
/
-- Change the FTP port from 2100 to 2111
call dbms_xdb.cfg_update(updateXML( dbms_xdb.cfg_get() , '/xdbconfig/sysconfig/protocolconfig/ftpconfig/ftp-port/text()' , 2111))
/