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 ( |
Oracle WebLogic Server Administration Console using WLST | HTTP | 9001 |
deploymentChannelPort ( |
Oracle Fusion Middleware Control | HTTP | 7001 |
adminPort ( |
Ports Available from Outside the Oracle Cloud Network
Resource | Protocol | Default Port | Attribute |
---|---|---|---|
Oracle WebLogic Server Administration Console | HTTPS | 7002 |
securedAdminPort ( |
Oracle Fusion Middleware Control | HTTPS | 7002 |
securedAdminPort ( |
Oracle Traffic Director Administration Console | HTTPS | 8989 |
adminPort ( |
End-user applications when load balancer is enabled | HTTP | 8080 |
listenerPort ( |
End-user applications when load balancer is enabled | HTTPS | 8081 |
securedListenerPort ( |
End-user applications when load balancer is enabled | Privileged HTTP (Default) | 80 |
privilegedListenerPort ( |
End-user applications when load balancer is enabled | Privileged HTTPS (Default) | 443 |
privilegedSecureddListenerPort ( |
End-user applications when load balancer is disabled, single Managed Server | HTTP | 8001 |
contentPort ( |
End-user applications when load balancer is disabled, single Managed Server | HTTPS | 8002 |
securedContentPort ( |
End-user applications when load balancer is disabled, single Managed Server | Privileged HTTP (Default) | 80 |
privilegedContentPort ( |
End-user applications when load balancer is disabled, single Managed Server | Privileged HTTPS (Default) | 443 |
privilegedSecuredContentPort ( |
End-user applications when load balancer is disabled, multiple Managed Servers | HTTP | 8001 |
contentPort ( |
End-user applications when load balancer is disabled, multiple Managed Servers | HTTPS | 8002 |
securedContentPort ( |
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",
. . .
}
]
}