6
Managing Connectivity 6-1
6
Managing Connectivity
Oracle HTTP Server comes configured with two listen ports: a non-SSL port http and an SSL port https. The default, non-SSL port is 7777. If port 7777 is occupied, the next
available port number, within a range of 7777-7877, is assigned. The default SSL port is 4443. Similarly, if port 4443 is occupied, the next available port number, within a range
of 4443-4543, is assigned.
You can set these ports during installation or when creating a new Oracle HTTP Server component. For specifying ports at installation time, see the Oracle Fusion Middleware
Installation Guide for Oracle WebTier. For specifying ports when creating a new Oracle HTTP Server component using opmnctl, refer to
Section 4.2, Creating a New Oracle HTTP Server Component
.
This chapter includes the following sections:
■
Section 6.1, Viewing Port Number Usage
■
Section 6.2, Managing Ports
■
Section 6.3, Configuring Virtual Hosts
6.1 Viewing Port Number Usage
This section describes how to view ports using Fusion Middleware Control.
Note: The information in this document is applicable when Oracle
HTTP Server is installed with Oracle WebLogic Server and Oracle Fusion Middleware Control. It is assumed that readers are familiar
with the key concepts of Oracle Fusion Middleware, as described in the Oracle Fusion Middleware Concepts Guide and the Oracle Fusion
Middleware Administrators Guide.
For information about installing Oracle HTTP Server in standalone mode, see “Installing Oracle Web Tier Without Oracle WebLogic
Server” in the Oracle Fusion Middleware Installation Guide for Oracle Web Tier.
Note: An additional SSL port 9999 is configured to run
out-of-the-box in the admin.conf file. It is called Proxy MBean or Admin port and is used internally by Oracle HTTP Server to
communicate with Fusion Middleware Control.
6-2 Oracle Fusion Middleware Administrators Guide for Oracle HTTP Server
6.1.1 Using the Fusion Middleware Control to View Port Number Usage
To view the port number usage using Fusion Middleware Control, do the following:
1. Navigate to the Oracle HTTP Server home page.
2. Select Port Usage from the Oracle HTTP Server menu.
The Port Usage detail page shows the component, the ports that are in use, the IP address the ports are bound to, and the protocol being used, as illustrated in the
following figure:
6.2 Managing Ports
The ports used by Oracle HTTP Server can be set during and after installation. In addition, you can change the port numbers, as needed. This section describes how to
create, edit, and delete ports using Fusion Middleware Control.
■
Using Fusion Middleware Control to Create Ports
■
Using Fusion Middleware Control to Edit Ports
■
Updating the Registration of Oracle HTTP Server with a WebLogic Domain After Changing the Administration Port
Caution: The Oracle HTTP Server administration proxy MBean
virtual host and its configuration, defined in the admin.conf file, must not be edited with the WebLogic Scripting Tool WLST.
See Also:
Changing the Oracle HTTP Server Listen Ports in the Oracle Fusion Middleware Administrators Guide.
Note:
When deleting a port, if there is a virtual host configured to use the port you want to delete, you must first delete that virtual host
before deleting the port.
Managing Connectivity 6-3
6.2.1 Using Fusion Middleware Control to Create Ports
To create ports using Fusion Middleware Control, do the following:
1. Navigate to the Oracle HTTP Server home page.
2. Select Administration from the Oracle HTTP Server menu.
3. Select Ports Configuration from the Administration menu.
4. Click Create.
5.
Use the IP Address menu to select an IP address for the new port. Ports can listen on a local IP Address of an associated host or on any available network interfaces.
SSL for a port can be configured on the Virtual Hosts page, as described in Section 6.3.2, Using Fusion Middleware Control to Configure Virtual Hosts
.
6. Use the Port field to enter the port number.
7. Click OK.
8.
Restart Oracle HTTP Server. See Section 4.1.4
.
6.2.2 Using Fusion Middleware Control to Edit Ports
To create the ports using Fusion Middleware Control, do the following:
1. Navigate to the Oracle HTTP Server home page.
2. Select Administration from the Oracle HTTP Server menu.
3. Select Ports Configuration from the Administration menu.
4. Select the port for which you want to change the port number.
When editing a port number, the Admin port cannot be edited using Fusion Middleware Control. Although this is a port Oracle HTTP Server uses for its
internal communication with Fusion Middleware Control, in most of the cases it does not need to be changed. If you really want to change it, manually edit the
ORACLE_INSTANCE
configOHSohs_nameadmin.conf file. And also refer to
Section 6.2.3, Updating the Registration of Oracle HTTP Server with a WebLogic Domain After Changing the Administration Port
for additional necessary steps after the Admin port is changed.
Note: If you change the port or make other changes that affect the
URL, such as changing the hostname, enabling or disabling SSL, you need to re-register partner applications with the SSO server using the
new URL.