Search code examples
apacheiis-7.5

IIS and Apache, ip locked


i have a server with two public IP, the first is used by IIS, the second IP is configured in Apche in Listen directive. But when i run Apache service i receive the error:

make_sock: could not bind to address <ip address>:80

All web sites in IIS are binding on first IP.

P.S. Sorry for my english


Solution

  • IIS lock all ip on port 80 (0.0.0.0:80).

    I found this: Stop http.sys from listening on port 80 in Windows

    you can use:

    netsh http add iplisten ipaddress=127.0.0.1
    

    This 'release' all ip (not 127.0.0.1) and Apache works!