apache/change-port

Change Listening Port

Change Apache listening port

configuration
network

Command

sudo nano /etc/apache2/ports.conf

Explanation

Modifies the ports Apache listens on (default is 80 and 443 for SSL).

Examples

Edit ports configuration

sudo nano /etc/apache2/ports.conf