Send Docs Feedback

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:

By default, the portal runs as the user "apigee". However, ports 1000 and below are often protected ports, which do not allow access to the "apigee" user. Therefore, you typically  use ports above 1000 with the portal. 

  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. ファイルを保存します。
  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. ファイルを保存します。
  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. ファイルを保存します。
  7. Restart Apache:
    > service httpd restart 
 

Help or comments?