IIS and Apache (WAMP) running

前端 未结 5 990
北海茫月
北海茫月 2021-01-03 19:45

How can we run IIS 6 and Apache (wamp) in same machine at same time?

5条回答
  •  青春惊慌失措
    2021-01-03 20:17

    Or like in my case, I wanted wamp to run on port :80 on a secondary ip on the same network card. This allows me to use my main ip to run IIS on :80 and the secondary ip :80 apache. How to get multiple IP's on same networkcard? stackoverflow alias IP

    1. Browse to 'C:\wamp64\bin\apache\apache2.4.23\conf'
    2. open httpd.conf
    3. Look for Line ~72 Listen 0.0.0.0:80 and change this to the secondary ip (in my case 192.168.210.41:80).
    4. I had to restart pc because IIS did not want to restart. Start IIS first, then Wamp. Works!

提交回复
热议问题