Oracle® Database Companion CD Installation Guide 10g Release 2 (10.2) for Microsoft Windows (x64) Part Number B15686-02 |
|
|
PDF · Mobi · ePub |
This appendix lists the default port numbers and describes how to change the assigned port after installation:
During installation, Oracle Universal Installer assigns port numbers to components from a set of default port numbers. 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 make sure that the same port number is not used by two services 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?
The installation may be up or down at the time; Oracle Database can still detect if the port is used.
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.
If the answer to any of the preceding questions is yes, 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 Oracle Database component's port number 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 ORACLE_BASE
\
ORACLE_HOME
\install
.
If you change a port number, it is not updated in the portlist.ini
file, so you can only rely on this file immediately after installation. To find or 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 C-1 Ports Used in Oracle Components
Component and Description | Default Port Number | Port Range | Protocol |
---|---|---|---|
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 |
The following sections describe how to change the Oracle Ultra Search ports.
To change the HTTP port, modify the port
attribute of the web-site
element in the ORACLE_BASE\ORACLE_HOME
\oc4j\j2ee\OC4J_SEARCH\config\http-web-site.xml
file:
<web-site port="5620"...>
To change the RMI port, modify the port
attribute of the rmi-server
element in the ORACLE_BASE\ORACLE_HOME
\oc4j\j2ee\OC4J_SEARCH\config\rmi.xml
file:
<rmi-server port="5640"...>
To change the JMS port, modify the port
attribute of the jms-server
element in the ORACLE_BASE\ORACLE_HOME
\oc4j\j2ee\OC4J_SEARCH\config\jms.xml
file:
<jms-server port="5660"...>