I found the method to change the ports in XE here. From that example I created my own little script:
set serveroutput on select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual; declare new_port varchar2(4):='8085'; begin dbms_output.put_line('Change HTTP Port to '||new_port); dbms_xdb.sethttpport(new_port); end; / select dbms_xdb.gethttpport as "HTTP-Port" , dbms_xdb.getftpport as "FTP-Port" from dual;
In good old Dutch: "Mucho Plezieros" with it...