Getting and changing http port of Oracle Database web-interface

How to get a HTTP port value

Message 1. Modified by Bennett November, 12, 2016 To the top ↑
Get a HTTP port value.
SQL> select decode(dbms_xdb.gethttpport,0,8080,dbms_xdb.gethttpport) port from dual;
 
      PORT
----------
      8080
 
The HTTP port value is 8080.

How to change a HTTP port value

Message 2. Modified by Bennett November, 12, 2016 To the top ↑
Change a HTTP port value to 8383.
SQL> exec dbms_xdb.sethttpport(8383);
 
If port changing is successful, you get a message.
PL/SQL procedure successfully completed.
 
The new HTTP port value is 8383.
Do you want to add or ask something? Contact us!