select dbms_xdb.GetHttpPort() from dual; begin dbms_xdb.sethttpport('8888'); dbms_xdb.setftpport('2100'); end; /