Indra Wahyu
Posted on April 17, 2023
You can change apache2 port with add the new port to /etc/apache2/ports.conf
. Use nano or vim to edit file. This is my example, I want to change http port from 80 to 3000.
nano /etc/apache2/ports.conf
Add the new port
Listen 3000
Restart apache2
sudo service apache2 restart
Open in browser http://localhost:3000
💖 💪 🙅 🚩
Indra Wahyu
Posted on April 17, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.