Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to change port apache ubuntu

 sudo nano /etc/apache2/ports.conf
 # change Listen 80 to Listen 8080
 sudo nano /etc/apache2/sites-enabled/000-default.conf
 # change <VirtualHost: *:80> to <VirtualHost: *:8080>
 sudo systemctl restart apache2
Source by ubiq.co #
 
PREVIOUS NEXT
Tagged: #change #port #apache #ubuntu
ADD COMMENT
Topic
Name
9+3 =