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



Comments

No comments yet.

Add Yours

  • Author Avatar

    YOU


Comment Arrow



About Author

Brian

Brian Abston is an IT Manager in Oklahoma that also still gets his hands dirty and writes Seam code. He also dabbles in Ruby and Rails. He loves to code and hates to manage. Jack of all trades and master of some.