How to change the Oracle XE web interface port.

By default the Oracle XE web interface uses port 8080. This can cause problems because by default JBoss AS and other app servers listen to port 8080 as well. Fortunately it is very easy to change the port that XE listens to.

  • Open the SQL command line: Start Menu >> Programs >> Oracle Database 10G Express Edition >> Run SQL Command Line >>

SQL Command Line

SQL Command Line


  • Enter the following commands at the SQL prompt.

1
2
3
4
5
6
CONNECT system
admin
BEGIN
DBMS_XDB.sethttpport('9090');
END;
/

Now the XE web interface will be listening on port 9090 instead of port 8080. Just make sure you use port 9090 instead of 8080 in the URL. For example: http://127.0.0.1:9090/apex



Prev