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 12.34.56.78:80
Listen 80
Change this port 80 to any number of your choice, here i have taken 8000.
#Listen 12.34.56.78:1234
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
Change
Listen 443
to any port of your choice, here i have taken 4433.
Listen 4433
Change
<VirtualHost _default_:443>
to same port number you have chosen above
<VirtualHost _default_:4433>
Change
ServerName www.example.com:443
or ServerName localhost:443
to
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.
My brother suggested I may like this web site.
He used to be entirely right. This publish actually made my
day. You can not believe simply how so much time I had spent for this info!
Thanks!
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!
i have do that, but the result is the same. what kind of way to solve this problem?
Hi Rama, I have sent you an email. Kindly elaborate your issue over the email with the snapshot of error. Then, I will be able to help you better.
Hi.Thank you so much for your easy and clear solution.
thanks man. it really worked. you made my day
nice content
I have tried this but still not getting out of it. Please provide another way to fix this issue.
It is not working
i have do that, but the result is the same. what kind of way to solve this problem? sir i tried from last 3 days but my problem is not solved sir plz help me
This is the solution to most common problem that occurs due to ports clash. Your issue might be different. Kindly share the error that you are getting in xampp control panel, then I might be able to help.
Hi
I have do that, but the result is the same. what kind of way to solve this problem?
Hi Surya, Kindly share the error description that you are getting in xampp control panel.
Hi there, I enjoy reading through your article post. I wanted to write a little
comment to support you.
Hey there, You have done a great job. I’ll certainly digg it and
personally recommend to my friends. I am sure they will be benefited from this web site.
Great delivery. Great arguments. Keep up the great
spirit.
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.
I am curious to find out what blog platform you have been utilizing?
I’m having some minor security problems with my latest blog and I’d like to find something more safeguarded.
Do you have any recommendations?
You can use wordpress with appropriate security plugins.
Enjoyed examining this, very good stuff, thanks.
Thanks for the nice article, it probably took some time to write it 🙂
I’m not sure where you’re getting your info, but good topic. I needs to spend some time learning much more or understanding more. Thanks for fantastic info I was looking for this information for my mission.
Awsome Wanted To Know This
Greetings! Very helpful advice in this particular article! It’s the little changes that make the greatest changes. Thanks a lot for sharing!|
Nice topic
{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.|
WONDERFUL Post.thanks for share..more wait .. 😉 ?