oracle

Open or close server ports

Open server ports for remote access

IMPORTANT: Making this application’s network ports public is a significant security risk. You are strongly advised to only allow access to those ports from trusted networks. If, for development purposes, you need to access from outside of a trusted network, please do not allow access to those ports via a public IP address. Instead, use a secure channel such as a VPN or an SSH tunnel. Follow these instructions to remotely connect safely and reliably.

By default, Oracle Cloud Infrastructure Classic servers have some or all of their ports closed to secure them against external attacks. In some cases, ports needed for specific applications to operate properly are also left open by default.

If you need to access your server remotely using a different port, you must first open the necessary port(s) using the Oracle Cloud Infrastructure Classic Console.

NOTE: For servers launched through the Bitnami Launchpad for Oracle Cloud Infrastructure Classic, select the cloud server you wish to modify in the Bitnami Launchpad and click the “Manage in the Oracle Cloud Infrastructure Classic Console” button.

Follow these steps:

  • Log in to the Oracle Cloud Infrastructure Classic Console.
  • Browse to the “My Services” Dashboard.
  • In the list of available services, find the Oracle Compute Cloud Service and select the “Service Console” menu item.

    Security configuration

  • Select the “Network” tab and the “Security Applications” sub-tab.

  • Click the “Create Security Application” button.

  • Create a new security rule for the port you wish to open, by specifying the name, port type and port range. In this example, we will open port 3000.

    Security rule configuration

  • Click the “Create” button to save the security application.

  • Select the “Network” tab and the “Security Rules” sub-tab.

  • Click the “Create Security Rule” button.

  • Create a new security rule and attach it to the security list for the server using the following inputs:

    • Name: Enter a descriptive name. Include the server name to make it easier to identify the association between the server and the rule later.
    • Source: Select the “Security IP Lists” option and the “public-internet” IP list.
    • Destination: Select the security list for the server, as obtained from the server detail page in the Bitnami Launchpad at the beginning of this process.

    Security rule configuration

  • Click the “Create” button to save the security rule.

Your security rule comes into effect immediately without any need to restart the server.

Close server ports and deny remote access

NOTE: For servers launched through the Bitnami Launchpad for Oracle Cloud Infrastructure Classic, select the cloud server you wish to modify in the Bitnami Launchpad and click the “Manage in the Oracle Cloud Infrastructure Classic Console” button.

To close ports for remote access, follow these steps:

  • Log in to the Oracle Cloud Infrastructure Classic Console.
  • Browse to the “My Services” Dashboard.
  • In the list of available services, find the Oracle Compute Cloud Service and select the “Service Console” menu item.

    Security rule configuration

  • Select the “Network” tab and the “Security Rules” sub-tab.

  • Look through the list of security rules until you find one referencing the security list for your server and the port you wish to close.

    Security rule configuration

  • Click the menu icon next to the security rule and choose the “Update” option.

  • In the resulting dialog, set the “Status” to “Disabled”.

    Security rule configuration

  • Click the “Update” button to save the security rule.

Your security rule comes into effect immediately without any need to restart the server.