Developer Services Portal v. 4.17.01
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:
- Ensure that the desired port number is open on the Edge node.
- Open /opt/apigee/customer/application/drupal-devportal.properties in an editor. If the file and directory does not exist, create it.
- Set the following propertty in drupal-devportal.properties:
conf_devportal_nginx_listen_port=PORT
Where is PORT is the new port number. - Save the file.
- 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:
- Open httpd.conf in an
editor:
> vi /etc/httpd/conf/httpd.conf - Search for 'Listen 80' and replace '80' with the desired port number.
- Save the file.
- Open devportal.conf in
an editor:
> vi /etc/httpd/conf/vhosts/devportal.conf - Edit the following line to set the new port number:
<VirtualHost *:80> - Save the file.
- Open devportal.conf in an
editor:
> vi /etc/httpd/conf/vhosts/devportal.conf - Set the port number in the virtual host definition with the desired port:
<VirtualHost *:portNumber> - Save the file.
- Restart Apache:
> service httpd restart