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 title="View all articles about IIS here">IIS and I disabled title="View all articles about IIS here">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 “wampbinapacheapache2.2.22conf” 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 0.0.0.0:80
- 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!
- How To Manage Your Skype Account From The Skype For Windows Desktop App
- Disable Skypehost.exe (Windows Skype) on Windows 10
- Microsoft’s plan to improve accessibility with Office 365 this year
- Installing PHP on Windows Server 2012
- Bind The Action Center Note Button To A Section In OneNote [Windows 10]
- Exchange Server 2013/2016 EWS Logging Configuration
- The program can’t start because MSVCR110.dll is missing from your computer
- Microsoft Azure Series - Creating a Linux virtual machine from custom image
- Install Sentora on CentOS 7
- Leaseweb Cloud AWS EC2 support