Updating the Default Access Ports When Creating a Service Instance

Resources available within your Oracle Java Cloud Service instances are accessible through default ports. The ports can be reconfigured when you create a service instance.

Note:

  • This topic is applicable only to Oracle Cloud Machine. For Oracle Cloud Infrastructure and Oracle Cloud Infrastructure Classic, see Example of Changing Default Ports in Request Body.

  • Any load balancer information presented here is applicable only to Oracle Traffic Director (OTD), which can be configured as a local load balancer for the Oracle Java Cloud Service instance you are provisioning.

When you create the JSON request document for provisioning a service instance, you can update the desired port values using the request attributes defined in the following tables. See Create a Service Instance if you need more information.

Ports Available from Within the Oracle Cloud Network

Resource Protocol Default Port Attribute
Oracle WebLogic Server Administration Console HTTP 7001 adminPort

("type":"weblogic")

Oracle WebLogic Server Administration Console using WLST HTTP 9001 deploymentChannelPort

("type":"weblogic")

Oracle Fusion Middleware Control HTTP 7001 adminPort

("type":"weblogic")

Ports Available from Outside the Oracle Cloud Network

Resource Protocol Default Port Attribute
Oracle WebLogic Server Administration Console HTTPS 7002 securedAdminPort

("type":"weblogic")

Oracle Fusion Middleware Control HTTPS 7002 securedAdminPort

("type":"weblogic")

Oracle Traffic Director Administration Console HTTPS 8989 adminPort

("type":"otd")

End-user applications when load balancer is enabled HTTP 8080 listenerPort

("type":"otd")

End-user applications when load balancer is enabled HTTPS 8081 securedListenerPort

("type":"otd")

End-user applications when load balancer is enabled Privileged HTTP (Default) 80 privilegedListenerPort

("type":"otd")

End-user applications when load balancer is enabled Privileged HTTPS (Default) 443 privilegedSecureddListenerPort

("type":"otd")

End-user applications when load balancer is disabled, single Managed Server HTTP 8001 contentPort

("type":"weblogic")

End-user applications when load balancer is disabled, single Managed Server HTTPS 8002 securedContentPort

("type":"weblogic")

End-user applications when load balancer is disabled, single Managed Server Privileged HTTP (Default) 80 privilegedContentPort

("type":"weblogic")

End-user applications when load balancer is disabled, single Managed Server Privileged HTTPS (Default) 443 privilegedSecuredContentPort

("type":"weblogic")

End-user applications when load balancer is disabled, multiple Managed Servers HTTP 8001 contentPort

("type":"weblogic")

End-user applications when load balancer is disabled, multiple Managed Servers HTTPS 8002 securedContentPort

("type":"weblogic")

Example: Updating the Default Access Port for End-User Applications

When the load balancer is enabled, you can update the privileged port values by setting the privilegedListenerPort and privlegedSecuredListenerPort attributes, respectively, within the Oracle Traffic Director ("type":"otd") parameter grouping to the desired values. When the load balancer is disabled, you can update the privileged port values by setting the privilegedContentPort and privlegedSecuredContentPort attributes, respectively, within the Oracle WebLogic Server ("type":"weblogic") parameter grouping to the desired values.

To enable the use of non-privileged ports, you must disable the use of privileged ports by setting the corresponding privileged port attributes to 0. Again, you would need to set the attribute values for both the "type":"otd" and "type":"weblogic" to enable the use of non-privileged ports when the load balancer is available and when it is not, respectively.

The following example shows how to configure the non-privileged ports for the Oracle WebLogic Server Administration Console, Oracle Fusion Middleware Console, and the load balancer.

{
    "serviceName" : "ExampleInstance",
    . . .
    "parameters" : [
    {
        "type" : "weblogic",
        "privilegedContentPort" : "0",
        "privilegedSecuredContentPort" : "0",
        "contentPort" : "8001",
        "securedContentPort" : "8002",
    . . .

    },
    {
        "type" : "otd",
        "listenerPortsEnabled" : true,
        "privilegedListenerPort" : "0",
        "privilegedSecuredListenerPort" : "0",
        "listenerPort" : "8080",
        "securedListenerPort" : "8081",
    . . .
    }
    ]
}