On a computer with only one IP address, IIS can use port 80 and the Avensoft product can use a different port on the same IP address. When the Avensoft product runs the first time, it checks if port 80 is available. If it is being used by another web server, it will try to use a port starting from 8080. In this case, when you access the Avensoft product using your browser, you need to specify the port number in the URL. For example: http://www.your_com.com:8080. (The port number can be omitted from the URL if it is 80. )
On a computer with multiple IP addresses, you can assign one IP address to IIS and another one to the Avensoft product. They can both use port 80 on different IP addresses. You may receive an error message from IIS saying "Address already in use" if the Avensoft's product runs first, or you might receive an error message from the Avensoft's product reporting a similar type of problem. To make it work with IIS 5.0, turn off the socket pooling feature. To make it work with IIS 6.0, use Httpcfg.exe to add the IP address to the IP inclusion list.
IIS 5.0
IIS 5.0 has "socket pooling" enabled by default. With this feature on, IIS 5.0 listens on all IP addresses regardless of whether they have been assigned to IIS or not. Disabling socket pooling and assigning unique IP addresses to IIS' sites will solve the problem. Stop both IIS and the Avensoft product and take the following steps.
1. Assign an IP address to a Microsoft Internet Information Services (IIS) Web site by performing the following steps:
cscript adsutil.vbs set w3svc/disablesocketpooling true
disablesocketpooling : (BOOLEAN) TRUE
3. Restart the Avensoft product and IIS 5.0.
(Reference: Microsoft Knowledge Article
238131 How to Disable Socket Pooling)
IIS 6.0 on Windows 2003
When you start Internet Information Services (IIS) 6.0 on Microsoft Windows Server 2003, IIS binds to all IP addresses on the server, not just the IP addresses that are assigned to Web sites. This may be true even though you have set the metabase property DisableSocketPooling to True.
To successfully allow applications to use the same port on different IP addresses, you must use a new utility, Httpcfg.exe. Httpcfg.exe is located on the Windows Server 2003 CD in the Support\Tools directory as part of the Support.cab file.
To install Microsoft Windows support tools:
httpcfg set iplisten -i xxx.xxx.x.xWhen this succeeds, Httpcfg returns the following:
HttpSetServiceConfiguration completed with 0
httpcfg query iplistenHttpcfg returns the following:
IP :xxx.xxx.x.x