Click here to Skip to main content
Click here to Skip to main content

Solution: Apache start Issues on windows 8.1

By , 8 Jan 2014
Rate this:
Please Sign up or sign in to vote.

Editorial Note

This article appears in the Third Party Product Reviews section. Articles in this section are for the members only and must not be used by tool vendors to promote or advertise products in any way, shape or form. Please report any spam or advertising.

Dear Friends,

I recently installed WAMP on my Windows8.1 and installation went fine. After installation, when trying to start Apache server, I noticed that Apache server is not starting properly and was conflicting with something pre-installed on my PC. At the very first glance I thought it may be IIS and I disabled IIS and it worked like charm. But I needed to run both IIS and Apache at the same instance and hence I started to look for options. I found an easy solution to this. By default both IIS and Apache listen at port 80 which causes a conflict between them. You can change the listening port of either of the two from 80 to a different port and the issue gets resolved. To change the listening port of IIS, you can take a look at this post of mine. To change the listening port of Apache, you can go to “httpd.conf” file present in the “\wamp\bin\apache\apache2.2.22\conf” folder on your hard drive where you have installed WAMP and change the Listening port from 80 to an unused port. Once the changes are done, restart the services and it works fine.

Everything was OK for a couple of days and suddenly I notice that I am trying to start WAMP server again and again and it is failing. I cross-checked my IIS settings for port settings and it was not changed in last couple of days. So, it has to be soemthing else that IIS. I checked the System logs and found 2 weird error messages from Apache while trying to start. They are -

  • (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted.  : make_sock: could not bind to address
  • no listening sockets available, shutting down

Based on the error messages, it was evident that something else was using Port 80 apart from my Apache. I checked all the running applications and started closing one by one each applicationto find which application was using the port. As soon as I closed Skype, Apache started perfectly OK. This meant Skype also uses port 80 by default if not configured and can create conflicts when using with Apache. To resolve this issue, follow the below steps -

  • Open Skype
  • Go to Tools > Options
  • Go to Advanced > Connection
  • Uncheck “Use Port 80 and 443 as alternatives for incoming connections” and click Save.
  • Restart Skype & then Apache server.
  • All well now!

Hope, you like this post and it helps you a bit. Share if you like it. Cheers!



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Nitesh Luharuka
Team Leader Independent IT Professional, Consultant
India India
An Independent IT Professional and Consultant on MS Technologies like .Net | MVC | Silverlight | Sharepoint | MS Project Server along with open source CMS Systems like DotNetNuke etc.
I am an enthusiastic technocrat who love to debug problems and solve them. I love writing articles on my website in my spare time. Please visit my Website for more details and subscribe to get technology related tips/tricks.
Follow on   Twitter   LinkedIn

Comments and Discussions

QuestionNot a windows 8.1 specific problems PinmemberTomy21059-Jan-14 6:38 
AnswerRe: Not a windows 8.1 specific problems PinmemberNitesh Luharuka10-Jan-14 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140421.2 | Last Updated 9 Jan 2014
Article Copyright 2014 by Nitesh Luharuka
Everything else Copyright © CodeProject, 1999-2014
Terms of Use
Layout: fixed | fluid