nativeInstallertypo3

Modify the Apache port

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

HTTP port

Under the default configuration, Apache will wait for requests on port 80. Change that by editing the httpd.conf file and modifying the value specified in the Port directive. For example:

Listen 8080

ServerName localhost:8080

Also change the port in installdir/apache2/conf/bitnami/bitnami.conf in the VirtualHost directive:

<VirtualHost _default_:8080>

Restart the Apache server for the change to take effect.

HTTPS port

Apache waits for HTTPS requests on port 443. Change that by editing the installdir/apache2/conf/bitnami/bitnami.conf file and modifying the value specified in the Port directive. For example:

Listen 8443

<VirtualHost _default_:8443>

Restart the Apache server for the change to take effect.

NOTE: On Linux and OS X platforms, install the stack as the root user to use a port number under 1024.