Languages
[Edit]
EN

Linux - change apache2 port (Debian / Ubuntu)

5 points
Created by:
martineau
300

Solution: 

1. Edit apache2 ports:

sudo vim /etc/apache2/ports.conf

2. Change port 80 to your desired port eg 81:

Listen 80

3. Restart apache2: 

sudo systemctl restart apache2

 

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join