Access the WebLogic Administrator Console

Access the WebLogic Administrator Console to deploy resources.

The method you use to access the WebLogic Server console differs depending on whether the server is deployed in a public or private subnet.

Access WebLogic Server Deployed in a Public Subnet

To access the WebLogic Server console in a public subnet:

  1. Sign in to the Oracle Cloud Infrastructure console.
  2. Open the navigation menu. Under Solutions and Platform go to Resources Manager and click Stacks.
  3. Select the Compartment where the stack was deployed and click the stack in the list.
  4. Click the job (the most recent job reflects the current state) and then click Outputs on the left. The WebLogic Server Administration Console URL is listed.
  5. Copy the URL, paste it in your browser, and sign in to the WebLogic Administrator console using the admin user name and password you specified during provisioning.

Access WebLogic Server Deployed in a Private Subnet

If you deploy WebLogic Server in a private subnet, you can't reach the administrator console directly. You must use a bastion host with a public IP and secure shell (SSH) tunneling to access the server console.

  1. Sign in to the Oracle Cloud Infrastructure console.
  2. Open the navigation menu. Under Solutions and Platform go to Resources Manager and click Stacks
  3. Select the Compartment where the stack was deployed and click the stack in the list.
    In the Jobs list, the most recent job reflects the current state.
  4. Click the job and then the Outputs on the left. Note the Bastion Host IP address.
  5. From the main navigation menu. Under Core Infrastructure go to Compute and click Instances.
  6. Find the server with the suffix -wls-0, which hosts the WLS Administrator server.
  7. Click the compute instance to get to the details page
  8. Note the Private IP of the compute instance.
  9. Use the following command to create an SSH tunnel to reach the WLS Administrator server:
    export BASTION_IP=<BASTION_HOST_IP>
    export WLSADMIN_HOST=<ADMIN_SERVER_PRIVATE_IP>
    # SSH tunnel
    ssh -M -S ssh-socket -fnNT -L 7001:${WLSADMIN_HOST}:7001 opc@${BASTION_IP} cat –
    # you can check the connection was successful with
    ssh -S ssh-socket -O check opc@${BASTION_IP}
  10. You can reach the Administrator console using the following address:
    http://localhost:7001/console
  11. When you are done using the console, you can terminate the SSH session:
    ssh -S ssh-socket -O exit opc@${BASTION_IP}