I got a brand new ASUS Desktop machine last weekend. It came with Windows 8 and a collection of “featured software” per-installed.
Of course the first thing I wanted to do was set the machine up for PHP development by installing Zend Server.
To my surprise Zend Server reported that port 80 was already in use!
Of course, I could choose to run ZendServer/Apache on a different port, but i don’t want to do that.
I pointed my browser at http://localhost and mp page was served. I navigated top the control panel and confirmed that IIS (Microsoft’s web server) was not installed which makes sense as this was a virgin machine.
You can open a command window on Windows and run the command:
To get a list of ports and process IDs.
There are any number of programs and services that could be configured to use port 80. It turned out on my machine that Skype came pre-installed and configured to run on Windows statup.
Skype turned out to be the prettily that was hi-jacking port 80. I probably never experienced this before because installing Skype is usually an after thought when configuring a machine.
The fix was easy. Go to Skype, select Tools->Options
Click “Advanced” then select “Connection”.
Note the box that says “Use port 80 and 443 as alternatives for incoming connections.
UN-CHECK that box.
Start the Zend Server installer again and you should be good to go.