This document eXPlains how to change the default ports (8080 for HTTP and 2100 for FTP) in XMLDB. Oracle XMLDB uses the ports 2100/8080 by default. Sometimes there are PRoblem with other webservers (e.g. JBOSS) running on the same port.
Even if the package dbms_xdb is granted to PUBLIC you need DBA privileges to change the ports. 用系统治理员身份登陆 -- change HTTP port from 8080 to 8083 call dbms_xdb.cfg_update(updateXML(dbms_xdb.cfg_get(), '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text()', 8083));
-- 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));
[oracle@test11 oracle]$ netstat -ntlp (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:32768 0.0.0.0:* LISTEN - tcp 0 0 127.0.0.1:32769 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:2401 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:33730 0.0.0.0:* LISTEN 14987/ora_d000_szdb tcp 0 0 0.0.0.0:873 0.0.0.0:* LISTEN - tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN -