Oracle® Database Companion CD Installation Guide 10g Release 2 (10.2) for AIX 5L Based Systems (64-Bit) Part Number B19079-01 |
|
|
View PDF |
During installation, Oracle Universal Installer assigns port numbers to components from a set of default port numbers. This appendix lists the default port numbers and describes how to change the assigned port after installation. It includes information about the following sections:
Many Oracle Database components and services use ports. As an administrator, it is important to know the port numbers used by these services, and to ensure that a port number is not used by more than one service on your host.
Most port numbers are assigned during installation. Every component and service has an allotted port range, which is the set of port numbers Oracle Database attempts to use when assigning a port. Oracle Database starts with the lowest number in the range and performs the following checks:
Is the port used by another Oracle Database installation on the host?
Oracle Database can detect if the port is in use, regardless of whether or not the other installation is running.
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.
Is the port listed in the /etc/services
files?
If the answer to any of the preceding questions is yes, then Oracle Database moves to the next highest port in the allotted port range and continues checking until it finds a free port.
In most cases, the port number of the Oracle Database component is listed in the tool used to configure the port. In addition, ports for some Oracle Database applications are listed in the portlist.ini
file. This file is located in the $ORACLE_HOME/install
directory.
When you change a port number, it is not updated automatically in the portlist.ini
file. Therefore, you can rely on the information in this file for only as long as the port numbers are not changed. To change a port number, use the methods described in this appendix.
The following table lists the port numbers and protocols used by components that are configured during the installation. By default, the first port in the range is assigned to the component, if it is available.
Table D-1 Ports Used in Oracle Components
Component and Description | Port Number | Port Range | Protocol |
---|---|---|---|
Enables Oracle applications, such as Oracle HTML DB, to communicate with the Web server through this port. It is configured during installation. "Changing the Oracle HTTP Server Port" explains how to modify this port. |
7777 |
7777–7877 |
HTTP |
Oracle Workflow Component Container HTTP port for Oracle Workflow. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports. |
6010 |
6010–6020 |
TCP/HTTP |
Oracle Workflow Component Container JMS port for Oracle Workflow. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports |
6030 |
6030–6040 |
TCP |
Oracle Workflow Component Container RMI port for Oracle Workflow. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports |
6110 |
6050–6060 |
TCP |
Oracle Workflow Management Container HTTP port for Oracle Workflow Management. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports |
6070 |
6070-6080 |
TCP/HTTP |
Oracle Workflow Management Container JMS port for Oracle Workflow Management. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports |
6090 |
6090–6100 |
TCP |
Oracle Workflow Management Container RMI port for Oracle Workflow Management. It is configured automatically during installation. "Changing the Oracle Workflow Container Ports" explains how to change its ports |
6110 |
6110–6120 |
TCP |
Oracle Ultra Search HTTP port for Oracle Ultra Search. Its port number is assigned automatically when you install Oracle Ultra Search, by using the Custom installation type. "Changing the Oracle Ultra Search Ports" explains how to change its port number. |
5620 |
5620–5639 |
TCP/HTTP |
Oracle Ultra Search RMI port for Oracle Ultra Search. Its port number is assigned automatically when you install Oracle Ultra Search, by using the Custom installation type. "Changing the Oracle Ultra Search Ports" explains how to change its port number. |
5640 |
5640–5659 |
TCP |
Oracle Ultra Search JMS port for Oracle Ultra Search. Its port number is assigned automatically when you install Oracle Ultra Search, by using the Custom installation type. "Changing the Oracle Ultra Search Ports" explains how to change its port number. |
5660 |
5660–5679 |
TCP |
To change the Oracle HTTP Server port:
In the Oracle HTTP Server home, modify the following settings in the $ORACLE_HOME/Apache/Apache/conf/httpd.conf
file:
Port port Listen listener
Restart Oracle HTTP Server:
$ORACLE_HOME/opmn/bin/opmnctl restartproc ias-component=HTTP_Server
The following sections explain how to change the HTTP, RMI, and JMS ports for the Oracle Workflow Component Containers and Management Containers.
Changing the HTTP Port
To change the HTTP port, edit the following files:
Oracle Workflow Component Container: $ORACLE_HOME
/
oc4j/j2ee/OC4J_Workflow_Component_Container/config/http-web-site.xml
Modify the port attribute of the web-site
element:
<web-site port="6001" ...>
Oracle Workflow Management Container: $ORACLE_HOME
/oc4j/j2ee/OC4J_Workflow_Management_Container/config/http-web-site.xml
Modify the port attribute of the web-site
element:
<web-site port="6061" ...>
Changing the RMI Port
To change the RMI port for Oracle Workflow Component Container, modify the port attribute of the rmi-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_Workflow_Component_Container/config/rmi.xml
file:
<rmi-server port="6041">
For Oracle Workflow Management Container, modify the port attribute of the rmi-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_Workflow_Management_Container/config/rmi.xml
file:
<rmi-server port="6101">
Changing the JMS Port
To change the JMS port for Oracle Workflow Component Container, modify the port attribute of the jms-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_Workflow_Management_Container/config/jms.xml
file:
<jms-server port="6021">
For Oracle Workflow Management Container, modify the port attribute of the jms-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_Workflow_Management_Container/config/jms.xml
file:
<jms-server port="6080">
The following sections describe how to change the Oracle Ultra Search ports.
Changing the HTTP Port
To change the HTTP port, modify the port
attribute of the web-site
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_SEARCH/config/http-web-site.xml
file:
<web-site port="5620"...>
Changing the RMI Port
To change the RMI port, modify the port
attribute of the rmi-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_SEARCH/config/rmi.xml
file:
<rmi-server port="5640"...>
Changing the JMS Port
To change the JMS port, modify the port
attribute of the jms-server
element in the $ORACLE_HOME
/oc4j/j2ee/OC4J_SEARCH/config/jms.xml
file:
<jms-server port="5660"...>