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 topics:
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 ensure that the same port number is not used by two services on your host. Enter the following command to identify the ports currently used on your computer:
$/bin/netstat -a
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.
Is the port listed in the /etc/services
file?
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 the $ORACLE_HOME
/install
directory.
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 single instance database installation. By default, the first port in the range is assigned to the component, if it is available.
Table G-1 Ports Used in Oracle Components
Component and Description | Default Port Number | Port Range | Protocol |
---|---|---|---|
Enables Oracle client connections to the database over the Oracle Net Services protocol. You can configure it during installation. To reconfigure this port, use Net Configuration Assistant. |
1521 |
Port number changes to the next available port. Modifiable manually to any available port. |
TCP |
Listening port for Oracle client connections to Oracle Connection Manager. It is not configured during installation, but can be configured manually by editing the |
1630 |
1630 |
TCP |
The Oracle XML DB HTTP port is used if web-based applications must access an Oracle database from an HTTP listener. You must configure this port manually. See Also: "Using HTTP(S) on a Standard Port Instead of an Oracle XML DB Default Port" in Oracle XML DB Developer's Guide |
0 |
Configured Manually |
HTTP |
Oracle XML DB The Oracle XML DB FTP is used when applications must access an Oracle database from an FTP listener. You must configure this port manually. See Also: "Using FTP on the Standard Port Instead of the Oracle XML DB Default Port" in Oracle XML DB Developer's Guide |
0 |
Configured Manually |
FTP |
Cluster Synchronization Service (CSS) CSS daemon internode connection for the GM layer. The port number is assigned automatically. You cannot view or modify it. |
42424 |
Dynamic |
UDP |
The port number is assigned automatically during installation. You cannot view or modify it afterward. |
Dynamic |
Dynamic |
UDP |
See Also:
Oracle Enterprise Manager Cloud Control Advanced Installation and Configuration Guide for information on Oracle Management Agent ports
Oracle Real Application Clusters Installation Guide for Linux and UNIX for a list of clusterware ports used in Oracle components