I have apache 2.2 installed on windows vista. Currently apache responds to http://localhost/ with its default "it works" page. My computer has multiple IPs on it and I want it to listen on a particular IP. How can I do this?
migrated from stackoverflow.com Jan 24 '11 at 15:42
This question came from our site for professional and enthusiast programmers.
Bind Apache's server port to
In your Apache configuration use:
Make sure you restart apache's daemon after changing this, and that your Windows Firewall is not preventing you from accessing port
If you want to run Apache and IIS on the same machine, this is also possible.
Basically you have to tell the HTTP.SYS the IP addresses that you want it to listened to. These are the IP addresses that you do not want to use with Apache.