Set the HTTP port used by the portal

Developer Services Portal v. 4.17.05

For the portal running on Nginx

By default, the Nginx server installed with the portal listens for request on port 8079. Use the procedure below to configure Nginx to use a different port:

  1. Ensure that the desired port number is open on the Edge node.
  2. Open /opt/apigee/customer/application/drupal-devportal.properties in an editor. If the file and directory does not exist, create it.
  3. Set the following propertty in drupal-devportal.properties:
    conf_devportal_nginx_listen_port=PORT

    Where is PORT is the new port number.
  4. Save the file.
  5. Restart the portal:
    /opt/apigee/apigee-service/bin/apigee-service apigee-drupal-devportal restart

For the portal running on Apache

By default, the Apache server installed with the portal listens for request on port 80. Use the procedure below to configure Apache to use a different port:

  1. Open httpd.conf in an editor:
    > vi /etc/httpd/conf/httpd.conf
  2. Search for 'Listen 80' and replace '80' with the desired port number.
  3. Save the file.
  4. Open devportal.conf in an editor:
    > vi /etc/httpd/conf/vhosts/devportal.conf
  5. Set the port number in the virtual host definition with the desired port:
    <VirtualHost *:portNumber>
  6. Save the file.
  7. Restart Apache:
    > service httpd restart