You are on page 1of 8

Port Numbers and Protocols of Oracle Component

Managing Ports: During installation, Oracle Universal Installer assigns port numbers to components from numbers. Many Oracle Database components and services use ports. As an administrator, it is importan numbers used by these services, and to make sure that the same port number is not used by two service numbers are assigned during installation. Every component and service has an allotted port range, which numbers Oracle Database attempts to use when assigning a port. Oracle Database starts with the lowest performs the following checks: 1) Is the port used by another Oracle Database installation on the host? The installation may be up or down at the time; Oracle Database can still detect if the port is used. 2)Is the port used by a process that is currently running? This could be any process on the host, even a non-Oracle Database process. 3)Is the port listed in the /etc/services files? If any of the preceding questions is yes,Oracle Database moves to the next highest port in the allotted p checking until it finds a free port.

The following table lists the port numbers and protocols used by components that are configured during the ins first port in the range is assigned to the component:

Component
Oracle SQL*Net Listener Oracle Enterprise Manager Database Console Oracle Management Agent iSQL*Plus Oracle Ultra Search Data Guard Oracle Real Application Clusters (UNIX) Oracle XML DB Oracle HTTP Server Listener (OracleAS Web Cache not configured) Oracle HTTP Server- non-SSL Oracle HTTP Server Listener (SSL) Oracle HTTP Server Listener (non-SSL, OracleAS Web Cache configured) Oracle HTTP Server Listener (SSL, OracleAS Web Cache configured) Java Object Cache

Default Port Number


1521 1158 3938 5560 5620 1521 (same value as the listener) Dynamic Dynamic

7777 4443 7777 4444 7000

DCM Java Object Cache Oracle HTTP Server Diagnostic port

7100 7200

Oracle9i AS Forms Services Oracle9i AS Forms Services OracleAS Web Cache OracleAS Web Cache - HTTP Listener OracleAS Web Cache - HTTP Listener (SSL) OracleAS Web Cache Administration OracleAS Web Cache Statistics OracleAS Single Sign-On Oracle Application Server Single Sign-On Uses the same port as Oracle HTTP Server Same as Oracle HTTP Server

80 443 4000 4002

Oracle Enterprise Manager Application Server Control Application Server Control Oracle Management Agent Application Server Control (RMI) Application Server Control (SSL) Log Loader Oracle Internet Directory Oracle Internet Directory Oracle Internet Directory (SSL)

1156 1157 1850 1810 44000

389 636

Oracle9i AS Containers for J2EE (OC4J) OC4J AJP OC4J RMI Java Message Service (JMS) for Oracle9i AS Containers for J2EE OC4J HTTP Listener Oracle9i AS Web Cache Oracle9i AS Web Cache HTTP Listen- non-SSL Oracle9i AS Web Cache HTTP Listen- SSL Oracle9i AS Web Cache Administration Oracle Enterprise Manager Oracle Enterprise Manager Application Server Administration Service Oracle Enterprise Manager Intelligent Agent

3001 3101 3201 3301

7777 4443 4000

1810, 1811 1748, 1754, 1808, 1809

Oracle Management Server Oracle Workflow TNS Oracle Files Oracle 9iFS Domain Controller Main Oracle Files Node Oracle Files HTTP Node LDAP- non-SSL LDAP- SSL AFP FTP NFS SMB

7771, 7772, 7773

1521

53000 range (auto-assigned) 53000 range (auto-assigned) 53000 range (auto-assigned) Same as Oracle Internet Directory Same as Oracle Internet Directory 548 21 2049 139

Viewing Port Numbers:In most cases, the Oracle Database component's port number is listed in the tool used t

addition, ports for some Oracle Database applications are listed in the portlist.ini file.This file is located in the $OR directory.If you change a port number, it is not updated in the portlist.ini file, so you can only rely on this file imm

Custom Port Numbers (the "Static Ports" File):

Instead of using default ports, you can assign custom port numbers for Oracle Collaboration Suite components du this, you must create a file containing the component names and port numbers. This file is typically called the stat name it anything you want. To instruct the installer to assign custom port numbers for components, you must sp staticports.ini as a parameter to the runInstaller command as follows: ./runInstaller oracle.ocs.midtier:s_staticPorts=path_to_your_ini_file (for installing Oracle Collaboration Suite 10g ./runInstaller oracle.ocs.midtier:s_staticPorts=path_to_your_ini_file (for installing Oracle Collaboration Suite 10g ./runInstaller oracle.ocs.onebox:s_staticPorts=path_to_your_ini_file (for installing Oracle Collaboration Suite 10g Infrastructure)

Below is the format of staticports.ini file: The staticports.ini file has the following format. Replace port_num with the port number that you want to use for # staticports.ini Template File # This file is a template for specifying port numbers at installation time. # To specify a port number, uncomment the appropriate line (remove #) and # replace "port_num" with the desired port number. # You can then launch Oracle Universal Installer with special options to use this # file. # Please refer to Oracle Collaboration Suite 10.1.1.0.2 Installation Guide for # instructions. # Ports common to Infrastructure and Applications install # Oracle HTTP Server port = port_num # Oracle HTTP Server Listen port = port_num # Oracle HTTP Server SSL port = port_num

# Please refer to Oracle Collaboration Suite 10.1.1.0.2 Installation Guide for # instructions. # Ports common to Infrastructure and Applications install # Oracle HTTP Server port = port_num # Oracle HTTP Server Listen port = port_num # Oracle HTTP Server SSL port = port_num # Oracle HTTP Server Listen (SSL) port = port_num # Oracle HTTP Server Diagnostic port = port_num # ASG port = port_num # Application Server Control port = port_num # Application Server Control RMI port = port_num # Java Object Cache port = port_num # Log Loader port = port_num # DCM Discovery port = port_num # Oracle Notification Server Request port = port_num # Oracle Notification Server Local port = port_num # Oracle Notification Server Remote port = port_num # Oracle Management Agent port = port_num # Ports specific to Infrastructure install # Oracle Internet Directory port = port_num # Oracle Internet Directory (SSL) port = port_num # Enterprise Manager Console HTTP port = port_num

You do not specify port numbers for all components in the staticports.ini file. If a component is not listed in the fil the default port number for that component.

Oracle Components

t numbers to components from a set of default port an administrator, it is important to know the port mber is not used by two services on your host.Most port as an allotted port range, which is the set of port Database starts with the lowest number in the range and

? still detect if the port is used.

rocess.

t highest port in the allotted port range and continues

that are configured during the installation. By default, the

Port Range
1521 55005519 18301849 55605579 56205639 1521 Dynamic Dynamic

Protocol
TCP TCP/HTTP HTTP TCP/HTTP TCP/HTTP TCP UDP HTTP

7777 to 7877 7777-7877 4443-4543 7777-7877 4443-4543 7000 to 7099

HTTP HTTP HTTP HTTP HTTP HTTP

7100 to 7199 7200 to 7299

HTTP HTTP

Same as Oracle HTTP Server

HTTP HTTP

7777 to 7877 4443 to 4543 4000 to 4300 4000 to 4300

Uses the same port as Oracle HTTP Server

HTTP

1810 to 1829 1830 to 1849 1850 to 1869 1810 to 1829 44000 to 44099

3060 to 3129 3130 to 3199

HTTP 3001-3100 3101-3200 3201-3300 3301-3400 HTTP 7777-7877 4443-4543 4000-4030

1812-1820 Fixed

7771-7773

Fixed

TCP

Dynamic Dynamic Dynamic Same as Oracle Internet Directory Same as Oracle Internet Directory Fixed 2100 or 21000 4048 and 4049 for Mount Server Fixed

number is listed in the tool used to configure the port. In i file.This file is located in the $ORACLE_HOME/install o you can only rely on this file immediately after installation

ollaboration Suite components during the installation. For This file is typically called the staticports.ini file, but you can bers for components, you must specify the path to

ng Oracle Collaboration Suite 10g Infrastructure) ng Oracle Collaboration Suite 10g Applications) ng Oracle Collaboration Suite 10g Applications and

number that you want to use for the component.

a component is not listed in the file, then the installer uses