Oracle’s documentation of Oracle Enterprise Manager’s ports is very minimal.  This short article documents my findings in clarifying each of these ports with Oracle Support.  Hopefully by documenting this, companies who are very stringent on security, such as those who deal with compliance, can use this as a reference.

This diagram from the documentation is all I can find, but it only covers the fundamental set of ports that OEM needs.




After working with Oracle Support on clarifying each port, the following are my findings.  The ports are divided into 4 major categories:

  1. Agent and OMS: This is the communication where the targets’ agents upload metrics to OMS.
  2. Browser and OMS: This is your browser traffic to OMS.
  3. Internal within OMS: This is communication internal to OMS only.
  4. OMS and OMR: This is repository traffic from the OMS to the OMR.
  5. Workstations and OMR: You still need to access the OMR database from your workstations to perform DBA tasks.

OMS=Oracle Management Server (the mid-tier of OEM)
OMR=Oracle Management Repository (the database tier of OEM)

Recommended Port RangeChosen PortPurposeInitiatorUsed?Comments
Agent and OMS
N/A22OMS to ssh to target hosts.OMSYESCan be revoked after agent deployment.
3872, 1830-18493872Oracle Management Agent portOMSYES
4889-48984889Enterprise Manager Upload Http portAgentNOLocked by default
1159, 4899-49084903Enterprise Manager Upload Http SSL portAgentYES
N/A1521Oracle Database PortAgentYESThis is for OMS to talk to database targets.
Browser and OMS
N/A80httpBrowserYES
N/A443httpsBrowserYES
7101-72007102Admin Server Http SSL portBrowserYES
7788-77987788Enterprise Manager Central Console Http portBrowserNOLocked by default
7799-78097802Enterprise Manager Central Console Http SSL portBrowserYES
9788, 9751-98009788OHS Http portBrowserNO
9899, 9851-99009851OHS Http SSL portBrowserYES
9701, 9701-97509701BI Publisher Http portBrowserNOLocked by default
9801, 9801-98509803BI Publisher Http SSL portBrowserYES
Internal within OMS
7201-73007202Managed Server Http port???NORediections between OHS and Weblogic only.
7301-74007301Managed Server Http SSL port???YESRediections between OHS and Weblogic only.
7401-75007403Node Manager Http SSL port???YES
OMS and OMR
N/A1521Oracle database portOMSYESThis port needs to be opened for the hostnames, VIPs, and the SCAN name/IPs.
Workstations and OMR
N/A1521Oracle database portWorkstationsYESThis port needs to be opened for the hostnames, VIPs, and the SCAN name/IPs.



Brian Wong Oracle, Technology , ,

4 Replies

  1. Hi there, Once registered the database in the OEM we have issues with communication between OEM and Agent, when we try to check database activity we got :
    IO Error: The Network Adapter could not establish the connection

    And we suspect we need to open an additional port but we can not find it yet.
    searching some with the process of the agent we found the agent processes use the port 47632
    Do you know something about this port?

    1. Hello!
      First of all, OEM doesn’t communicate through random ports like that.
      Seeing a random port like that, I’m almost certain that this is the sql*net communication after a handoff.
      Is there any special setup on the database that OEM is hitting? For example, is it on Windows? Is it using Shared server instead of Dedicated Servers?
      In those special setups:
      1) the client reaches the listener
      2) the listener performs handoff, meaning that it redirects the client connection to a server process.
      3) the client and the server process talks through a random port without the listener’s intervention.

      Hope this helps,
      Brian

      1. Thanks for your answer
        And not the server are Linux, both.
        And both are dedicated.

        I have another question about the ports I need to open.
        I am unsure if they should be open both ways in Ingress and Egress, the 1521 and 3872 ports
        What do you think?

        1. Definitely open the ports both ways. The network engineers would want to know which way the communication is initiated, as shown in the table I have on the post, but it needs to be bi-directional.

          Brian

Leave a Reply

Your email address will not be published. Required fields are marked *