In some cases it my be nessesary to have both CSPNT and IIS listening on the same port. In this case we need to use 2 IP addresses and bind CSPNT to one and IIS to the other.
Binding CSPNT to single IP Addres:
First of all you need CSPNT version 1.0.0.63 or higher. Using the registry editor open the following node:
\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CSPNT\Parameters
In this key add or edit a REG_SZ value called 'Bind' , the content of this value can be set to the dotted decimal ip address to bind to. e.g. 123.123.123.123.
From version 1.0.2.4 or higher it is possible to bind the CSPNT to more then 1 IP address (upto max 4). Simply specify more IP addresses (max 4) seperated by a semicolumn.
The gateway requires a restart to activate the binding.
Binding IIS to single IP address
Default IIS binds to all available IP addresses, to change this it neccessary to edit the metabase. The procedure is different for IIS 5 and IIS 6.
IIS5
http://support.microsoft.com/kb/238131/
IIS6
http://support.microsoft.com/kb/813368