Monday, August 18, 2008

Binding IIS to a specific IP address(es)

3FB6C6A2-2897-46FE-B989-06C681F13BF5.jpg

Last weekend I installed Kerio Mail Server (which is awesome, easy to configure and use and surprisingly powerful and robust) which runs it's own web server for webmail. I also needed to run this organizations company website using IIS 6.0, but wasn't able to run each server off it's own IP address, although I specifically set this is IIS GUI, it didn't seem to acknowledge it.

Turns out IIS using something called "socket pooling", where it still binds itself to IP addresses on the system other then the one you specify, even if you set it that way in the GUI. To disable this socket pooling you have to run a script to turn it off. You can find more information about it from this blog post and this Microsoft Knowledge Base article.

No comments: