SQL> SELECT DBMS_XDB_CONFIG.gethttpsport FROM dual;
GETHTTPSPORT
------------
0
SQL> EXEC DBMS_XDB_CONFIG.sethttpsport(5500);
PL/SQL procedure successfully completed.
The URL will therefore be https://hostname:5500/em
A user that has been granted EM_EXPRESS_BASIC or EM_EXPRESS_ALL roles can login.