У меня Apache стоит на порту 80. Хочу поменять, например, на 8080.
Менял здесь: /etc/apache2/ports.conf
- не помогает. После перезапуска Apache порт восстанавливается на 80. В других местах менял - тоже самое.
Как изменить порт?
ports.conf:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf
Listen 80
<IfModule ssl_module>
Listen 443
</IfModule>
<IfModule mod_gnutls.c>
Listen 443
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet