How to change Apache Port

  1. Edit your port by running this command
    sudo nano /etc/apache2/ports.conf
  2. Change Listen 80 to 8000
  3. To exit nano editor, press ctrl + x then y to save
  4. Then restart apache
    sudo service apache2 restart

 


Thanks for reading. Make sure you follow me on Twitter to stay up to date on the progress of my side projects T.LYWeather Extension, and Link Shortener Extension. If you are interested in the tech I use daily, check out my uses page.  

Leave a Reply

Your email address will not be published. Required fields are marked *