Apache shutdown unexpectedly due to a blocked port

So, you got an error out of no where saying ‘Apache shutdown unexpectedly due to a blocked port‘.

Might be exactly this is what you might have got:

Error: Apache shutdown unexpectedly.

This may be due to a blocked port, missing dependencies,
improper privileges, a crash, or a shutdown by another method.
Press the Logs button to view error logs and check
the Windows Event Viewer for more clues
If you need more help, copy and post this
entire log window on the forums
Problem detected!
Port 443 in use by “”Program xxxxxxx-xxxx.exe”” with PID 3700!
Apache WILL NOT start without the configured ports free!
You need to uninstall/disable/reconfigure the blocking application
or reconfigure Apache and the Control Panel to listen on a different port

Usually, when we see this kind of error – the first thing we have to keep in mind is to look for the cause for the error. If we look at the above error – we can come to a conclusion that one of the programe running on your system is already accessing the same port that usually Xampp uses to run.

We’ll take up ‘Port 443 in use by “”Program xxxxxxx-xxxx.exe”” with PID 3700!

That says exactly the cause. Since, I have come across this issues before – I know the solution and also will be sharing with you!

99 out of 100% chances are there that Skype starts using the Port 443 for additional incoming connections. The other 1% chance are there that any other process might have been using.

What’s the solution?

Follow the steps to overcome this issue:

Step1: Run Skype

Step2: From the top navigation bar – Select Tools -> Options

Step3: You should see a similar window as you can see below

Apache shutdown unexpectedly due to a blocked port - pepfry

Apache shutdown unexpectedly due to a blocked port

Step4: As you can see in the above screenshot, from the left menu – Select Advanced -> Connection

Step5: Uncheck the check-box which says ‘Use port 80 and 443 for additional incoming connections‘ – In the above screenshot, its already unchecked.

Step6: Quit Skype and Exit Xampp

Step7: Run Xampp

By now, everything should be running fine unless there is another error that is causing xampp to stop its service.

If everything is going fine – when you click on ApacheStart button. Apache should start and run successfully.

Hope this helped you a lot and you don’t find ‘Apache shutdown unexpectedly‘ issue once again.

If you still find issues with Xampp – Then, there might be another problem with Xampp port 80. Don’t worry, i have a solution for that as well. See below.

Thanks for coming along. If you have any further questions on this topic – please, do not hesitate to put them as comments below. Have a nice day!

One thought on “Apache shutdown unexpectedly due to a blocked port

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">