Set the HTTP port used by the portal

Developer Services Portal v. 4.16.09

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. Edit the following line to set the new port number:
    <VirtualHost *:80>
  6. Save the file.
  7. Open devportal.conf in an editor:
    > vi /etc/httpd/conf/vhosts/devportal.conf
  8. Set the port number in the virtual host definition with the desired port:
    <VirtualHost *:portNumber>
  9. Save the file.
  10. Restart Apache:
    > service httpd restart