Restricting the HTTP port access

You can restrict the access of Developer Portal HTTP port only to the system in which the application is installed by using the configurations available in the dpo_wrapper.conf file.

About this task

You can restrict the HTTP port access only to the local host by using the portal.server.config.http-address configuration and enable or disable the usage of HTTP port by using the portal.server.config.HTTP-port configuration.

Procedure

  1. Navigate to the following folder from the location where Developer Portal is installed, InstallDirectory/DeveloperPortal/configuration.
  2. Add the following entry.
    wrapper.java.additional.2007=-Dportal.server.config.http-address=127.0.0.1
  3. To disable the HTTP port, add the following entry and provide a negative integer value to the configuration.
    Entry to be added
    wrapper.java.additional.2006=-Dportal.server.config.http-port
    For example,
    wrapper.java.additional.2006=-Dportal.server.config.http-port=-1