Starting and Stopping in High Availability Environments Forcing a Shutdown of Oracle Database

4-10 Oracle Fusion Middleware Administrators Guide 5 Managing Ports 5-1 5 Managing Ports This chapter describes how to view and change Oracle Fusion Middleware port numbers. It contains the following topics: ■ About Managing Ports ■ Viewing Port Numbers ■ Changing the Port Numbers Used by Oracle Fusion Middleware

5.1 About Managing Ports

Many Oracle Fusion Middleware components and services use ports. Most port numbers are assigned during installation. 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. For some ports, you can specify a port number assignment during installation.

5.2 Viewing Port Numbers

You can view the port numbers currently in use with the command line or Fusion Middleware Control, as described in the following topics: ■ Viewing Port Numbers Using the Command Line ■ Viewing Port Numbers Using Fusion Middleware Control

5.2.1 Viewing Port Numbers Using the Command Line

To view the current port numbers for system components, use the following command: UNIX ORACLE_INSTANCEbinopmnctl status -l Windows ORACLE_INSTANCE\bin\opmnctl status -l To view the port numbers for Oracle WebLogic Server, you can use the WLST get command, with an attribute. For example, to get the Administration Port, use the following command: wls:SOA_domainserverConfig getAdministrationPort See Also: Appendix C for a list of port numbers. Refer to the installation guide for directions on overriding port assignments during installation. 5-2 Oracle Fusion Middleware Administrators Guide 9002

5.2.2 Viewing Port Numbers Using Fusion Middleware Control

You can view the port numbers of the domain, the Administration Server, Managed Servers, or components, such as the SOA Infrastructure and Oracle Web Cache, using Fusion Middleware Control. For example, to view the ports of a domain: 1. From the navigation pane, expand the farm and then WebLogic Domain. 2. Select the domain. 3. From the WebLogic Domain menu, choose Port Usage. The Port Usage page is displayed, as shown in the following figure: Optionally, you can filter the ports shown by selecting a Managed Server from Show. The Port Usage detail table shows the ports that are in use, the IP Address, the component, the channel, and the protocol. You can also view similar pages for the Administration Server, Managed Servers, and components, such as the SOA Infrastructure and Oracle Web Cache, by navigating to the target and choosing Port Usage from the targets menu.

5.3 Changing the Port Numbers Used by Oracle Fusion Middleware

You can change the port numbers for some Oracle Fusion Middleware components, using Fusion Middleware Control, Oracle WebLogic Server Administration Console, or the command line. Managing Ports 5-3 This section provides the following topics: ■ Changing the Oracle WebLogic Server Listen Ports ■ Changing the Oracle HTTP Server Listen Ports ■ Changing Oracle Web Cache Ports ■ Changing OPMN Ports ONS Local, Request, and Remote ■ Changing Oracle Portal Ports ■ Changing the Oracle Database Net Listener Port For information about changing other ports, see: ■ Configuring Server Properties or Setting System Configuration Attributes by Using ldapmodify in the Oracle Fusion Middleware Administrators Guide for Oracle Internet Directory for information about changing Oracle Internet Directory ports ■ Overview of Node Manager Configuration in the Oracle Fusion Middleware Node Manager Administrators Guide for Oracle WebLogic Server for information about changing the Node Manager port. ■ Configuring Oracle Virtual Directory to Listen on Privileged Ports in the Oracle Fusion Middleware Administrators Guide for Oracle Virtual Directory

5.3.1 Changing the Oracle WebLogic Server Listen Ports

You can change the non-SSL HTTP listen port and the SSL HTTPS listen port for a WebLogic Server Administration Server or a Managed Server using the Oracle WebLogic Server Administration Console or WLST, as described in the following topics: ■ Changing the Oracle WebLogic Server Listen Ports Using the Administration Console ■ Changing the Oracle WebLogic Server Listen Ports Using WLST

5.3.1.1 Changing the Oracle WebLogic Server Listen Ports Using the Administration Console

To change the non-SSL HTTP listen port and the SSL HTTPS listen port for a WebLogic Server Administration Server or a Managed Server using the Oracle WebLogic Server Administration Console: 1. Navigate to the server. The Settings for server_name page is displayed. 2. On the General tab, change the number of the Listen Port or SSL Listen Port. 3. If the server is running, restart the server. Note: You can change a port number to any number you want, if it is an unused port. You do not have to use a port in the allotted port range for the component. See Appendix C for information on allotted port ranges. See Also: Oracle Fusion Middleware Configuring Server Environments for Oracle WebLogic Server for more information about changing Oracle WebLogic Server ports