"cannot bind to address 0.0.0.0:80" means that at startup it tries to bind to port 80 on all available network interfaces. Since IIS has already hooked up one (or more) IP addresses to bind to it, apache cannot get any, and therefore will work.
(I'm not sure if it will bind to any available IP addresses if you configured it to bind to all, but one is already done.)
So, configure Apache to bind to a different port (if you only have 1 IP address) or to bind to a different IP or IP range.
You do this by changing the binding . First, find the Listen directive in the configuration file (httpd.conf) and modify it. He will now say "Listen 80" (which means all IP addresses), change it to say β Listen 192.168.0.2:80 β so that it binds to the specified IP address.
You may need to edit the IIS configuration to tell it that it is bound to only one IP address.
gbjbaanb Jan 10 '09 at 14:56 2009-01-10 14:56
source share