XAMPP Error Apache shutdown unexpectedly

Error: Apache shutdown unexpectedly.
This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method.

There are several reasons why your apache server is not working or unexpectedly shutdown. Main reason is some application is using port 80.

In my personal experience, it took me sometime hunting this application running on port 80 until i found a service called “Web Deployment Agent Service” (MsDepSvc) that also trigger “System” with PID4 to listen on port 80.

My apache server is now working properly after shutting down “Web Deployment Agent Service” (MsDepSvc) service.

Just want to share this great application called TCPView, this will show you detailed listings of all TCP and UDP endpoints on your system.

Hope that helps!

Leave a Reply

Your email address will not be published. Required fields are marked *