Edit your httpd.conf Find the line that says Listen 80 and change the 80 to whatever port you want to use.
Don't forget to restart apache.
5
votes
In
Server version: Apache/2.2.22 (Debian)
Server built: Feb 1 2014 21:26:04
There is file named ports.conf in /etc/apache2 dir and you can change listening ports from there.
3
votes
On Ubuntu, it's /etc/apache2/ports.conf.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more