XAMPP Apache may report Port 80 in use error and fail to start. In this tutorial, we will introduce how to fix this error.
This error looks like below:
The reason for this error is that port 80 has been used by other application, apache can not use or listen this port.
How to fix this error?
In order to fix this error, we can change the port listened by apache.
Here is some steps:
Open Apache httpd.conf
Then, we can change Apache listen port. In this tutorial, we will change it to 81.
Then, you can start Apache successfully.
You should notice you can open a url as follows: