Customizing HTTPS Console and Upload Ports After Installing Enterprise Manager Grid/Cloud Control

One of my blog readers asked me how we can change the ports of Grid Control after install. Yes it’s possible to change the ports after installing EM Grid Control and it’s well documented for Enterprise Manager Cloud control. I tested if these steps are valid for Grid Control and it worked. I think no one uses insecure ports so I’ll show how I will set Oracle Enterprise Manager (secure) web site port to 8000 and “secure/https upload port” to 2000 on Oracle Enterprise Manager Grid Control 11g:

First we need to stop OMS:

Then modify the port information in repository:

Modify the ports in the configuration files (/oracle/gc_inst/em/EMGC_OMS1/

Change values of EM_CONSOLE_HTTPS_PORT (Oracle Enterprise Manager web console port) and EM_UPLOAD_HTTPS_PORT (upload port used by agents)

Edit SSL configuration of Apache (/oracle/gc_inst/WebTierIH1/config/OHS/ohs1/ssl.conf ) and find “Listen 7799” and “VirtualHost *:7799” and enter new port numbers:

Edit SSL configuration of EM Upload service (/oracle/gc_inst/WebTierIH1/config/OHS/ohs1/httpd_em.conf), find the following lines:

and enter new port numbers:

Now you can start OMS. Of course you also need to modify agent configuration if you change upload ports. The agent configuration file can be found at $AGENT_INSTANCE_HOME/sysman/config/ Open it and search for REPOSITORY_URL.

Modify its value according to your new OMS upload port:

Please share

AWS Big Data Specialist. Oracle Certified Professional (OCP) for EBS R12, Oracle 10g and 11g. Co-author of "Expert Oracle Enterprise Manager 12c" book published by Apress. Awarded as Oracle ACE (in 2011) and Oracle ACE Director (in 2016) for the continuous contributions to the Oracle users community. Founding member, and vice president of Turkish Oracle User Group (TROUG). Presented at various international conferences including Oracle Open World.


  1. Kunal

    I have configured a standby oms to my primary oms in 12c. however the https console port for oms and http console port for oms has changed in standby site and do not match primary oms. agent upload port and other configuration is same except the ports.
    When I use the steps above to change ports at standby site I get following error
    “Input oms_name is invalid. Management Server with this name does not exists”
    I also tried with -oms_name local_oms but getting same error. please advise.

  2. amith

    can any one give me good document to create stand by oms, I have already built my 3 node prod oms, now I want to have the standby oms for that 3 nodes

  3. IrvingHunk

    Hello Gokhan,

    I just did this last night in EM12c R4 and after restarting I started to get error

    “Failed to find OMS details: null java.lang.NullPointerException”

    while trying to get OMS status. After several hours of being struggling and looking for a solution, I found this which saved me from reinstalling after hours of frustration. In case somebody face the same issue.

    Thank you for the time you spend helping out others!!

  4. Thomas Beetz


    i try to change oracle.sysman.emSDK.svlt.EMConsoleServerHTTPSPort to 2000 (from 7802) and for cloudcontrol and it doesn’t work, oracle linux 6.5. I change the property and the ssl.conf file. Now i use iptables.

    If someone have time for a test, i’ll be interested in your results.

    Best Regards


  5. Nico

    Thanks again. Yes. Again. Your blog has been a great source of information to manager OEM.
    That’s exactly what I needed.


  6. Nico

    During the installation, for the default port used, the documentation says the following for the EM console:

    The first available free port from the range 7799 – 7809 is selected.

    I had a port 7803 but I don’t have anything else running on that server. Does it scan the network ? I do have a 7799 running on another gridcontrol.



  7. Nico

    I have been working with 13.1 since last week.

    ssl.conf is now located here : /gc_inst/user_projects/domains/GCDomain/config/fmwconfig/components/OHS/instances/ohs1/

    -bash-4.2$ grep -r “7803”
    user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/ssl.conf:Listen 7803 #OHS_SSL_PORT

    user_projects/domains/GCDomain/config/fmwconfig/components/OHS/ohs1/ssl.conf:<VirtualHost *:7803> #OHS_SSL_VH

Leave Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.