Why is Apache running on port 8080 instead on port 80?

Why is Apache running on port 8080 instead on port 80?

The usual reason why apache is often configured to listen on that port is that a process need to be run under the root account or to be granted specific privileges to be able to listen on TCP ports lower than 1024 and that includes of course port 80.

Using an higher, unprivileged port number allows to run apache under a regular account without any specific configuration.

8080 is an easy to remember replacement for 80.