XAMPP Error – this may be due to a blocked port missing dependencies

When i installed xampp on my pc. It worked great initially. But after some time, i stuck with an error “this may be due to a blocked port missing dependencies”. This error suddenly pops-up when i tried to run the apache server. It took hours for me to fix the issue but after banging my head over the wall I came up with a simple solution.

First lets see, what is this error for?

Actually the xampp installs the apache server with the default port 80. If this port is free in your computer, your installation works fine. But if this port is in use by some other application, you will get this error “this may be due to a blocked port missing dependencies”.

Usually, skype use this port. So, if you have skype installed in your computer, you must have got this error.

How to solve this problem?

The solution is simple, just change the port from 80 to some other value.

And, how to do that???

Step 1: Go to xampp/apache/conf directory and open httpd.conf in notepad or some other editor. You can also open it directly from the xampp control panel.

Step 2: Find the following code lines and replace as follows:-
Listen 80

Change this port 80 to any number of your choice, here i have taken 8000.
Listen 8000

Find the following code in the same file httpd.conf
ServerName localhost

Replace with the following, take the same number you have used in upper code.
ServerName localhost:8000

Save and close the httpd.conf file.

Now, restart the xampp control panel and start the apache server again. If it’s working, great, otherwise you need to change another port also i.e. 443 by default.

So, where do you find it?

Open httpd-ssl.conf file located in xampp/apache/conf/original/extra or directly from the xampp control panel

Listen 443
to any port of your choice, here i have taken 4433.
Listen 4433
<VirtualHost _default_:443>
to same port number you have chosen above
<VirtualHost _default_:4433>
ServerName www.example.com:443 or ServerName localhost:443
ServerName www.example.com:4433 or ServerName localhost:4433

Save and close the httpd-ssl.conf file.

Restart the xampp control panel and click on start button next to apache…. and boooom its working..

Now, you have to use http://localhost:8000 instead of http://localhost

Please comment if you have any query or you are not able to fix the issue. We will personally help you fixing the issue.


  1. It's a pity you don't have a donate button! I'd certainly donate to this excellent
    blog! I guess for now i'll settle for book-marking and adding your RSS feed
    to my Google account. I look forward to new updates and will share this website with my Facebook group.
    Talk soon!

  2. An impressive share! I’ve just forwarded this onto a co-worker who had been conducting a little homework on this.
    And he actually bought me dinner simply because
    I found it for him… lol. So let me reword this….

    Thanks for the meal!! But yeah, thanks for spending
    some time to discuss this issue here on your web site.

  3. {I have been browsing online more than three hours today, yet I never found any interesting article like yours. It is pretty worth enough for me. Personally, if all site owners and bloggers made good content as you did, the web will be a lot more useful than ever before.|

Leave a Reply

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