Implement IIS and Apache share port 80

  
                  In IIS5, multi-IP coexist, IIS is 192.168.0.1, apache is 192.168.0.2

c:\\Inetpub\\Adminscripts

cscript adsutil.vbs set w3svc/disablesocketpooling true
< BR> The command feedback is as follows: disablesocketpooling : (BOOLEAN) True

Restart IIS

Inetpub\\AdminScripts>cscript adsutil.vbs set w3svc/disablesocketpooling true

IIS6, under multiple IP Coexistence, IIS is 192.168.0.1, apache is 192.168.0.2

Support/tools/Support.cab to the 2003 CD. Unzip the httpcfg.exe file, COPY to the windows/system32/directory, use the help

command line, bind to an IP: httpcfg set iplisten -i 192.168.0.1

The command uses IIS to listen only to the specified IP and port

View Binding: httpcfg query iplisten

Delete Binding: httpcfg delete iplisten -i 192.168.0.1

Command Line

net stop Apache2

net stop iisadmin /y

net START Apache2

net START w3svc

Guaranteed ip settings under iis For the global default, Apache httpconf set listen 192.168.0.2:80, it should be able to run both services at the same time, do not conflict with each other.
Copyright © Windows knowledge All Rights Reserved