Wednesday, November 2, 2011

Apache Http Server, SSL and IIS On Windows XP

Setup:
Windows XP with the following servers installed

Apache 2.2 installed and running
IIS 5.1 Installed and running

Problem:
Whenever I add the following directive to the Apache configuration to enable ssl:
Listen 443 and try to restart Apache, I get the following error:

(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:443


My solution:
1. Stop the IIS server
2. Change the Apache configuration
3. Start Apache http server
4. Start IIS server

Good luck!