About Oracle URLs and Port Numbers

To access the Oracle Enterprise Manager Database Express (Oracle EM Express) in your browser, you must specify the URL and port number for the correct database.

The EM Express URL address for connecting to the database uses the following general format:

https://hostname.yourcompany.com:portnumber/em

To determine the port number for your Oracle database, navigate to the <oracle_install_directory>/cfgtoollogs/dbca/<database_name> directory, and open the trace.log file, enter the following as the search criteria in your text editor:

DB Express port configuration succeeded. Port configured=Right after this port details, you can find the host name of the machine where the database instance is configured and the complete EM Express URL.

You can also get the port that is in use for a specific database, for this connect to the database as a database administrator and execute the following query:

SQL > seledct dbms_xdb_config.getHttpsPort() from dual;