Publish IIS 6 on ISA2004/2006 Server when they are on the same server.

If you want to publish the HTTP service in IIS which was installed on the same machine as ISA, you are require to disable socket pooling on it. Otherise, HTTP service will bind itself to all network interfaces which prevent ISA to listen for incoming request.


1. Install the Support Tools form the W2K3 Server installation disc. It was located in the SUPPORT\TOOLS folder.
2. Run “net stop http /y” 
3. Run “net stop w3proxy” if you enabled the web proxy service.
4. Go to the Support Tools folder and Run “httpcfg delete iplisten -i 0.0.0.0”
5. Run “httpcfg set iplisten -i 192.168.8.8” where “192.168.8.8” is the IP of which HTTP service should be  listen to.
6. Run “net start http”
7. Run “net start w3svc”
8. Run “net start w3proxy”


You can run “httpcfg query iplisten” to check which IP does the HTTP service is currently listening to.
You can also run “netstat -na | more” to check the active listening ports.


 


If you want to stop socket pooling on FTP service, you can do this:


1. cd c:\Inetpub\AdminScripts
2. net stop msftpsvc
3. cscript adsutil.vbs set msftpsvc/disablesocketpooling true
4. net start msftpsvc


If you want to stop socket pooling on SMTP service, you can do this:


1. cd c:\Inetpub\AdminScripts
2. net stop smtpsvc
3. cscript adsutil.vbs set smtpsvc/disablesocketpooling true
4. net start smtpsvc


You can also disable socket pooling for POP3 and IMAP4 services by changing the command:
cscript adsutil.vbs set imap4svc/disablesocketpooling true
cscript adsutil.vbs set pop3svc/disablesocketpooling true

3 thoughts on “Publish IIS 6 on ISA2004/2006 Server when they are on the same server.

  1. Hello,
    I have an ISA 2006 with IIS 6 on a 2003 R2 machine, and I want to use it to distribute a proxy.pac file. I followed these instructions but with no result.
    whe I tried te delete iplisten command I got this message “HttpDeleteServiceConfiguration completed with 1168”
    but the set iplisten worked fine.
    Any ideas?

  2. For httpcfg delete iplisten -i 0.0.0.0
    Make sure the IIS services was stopped.
    After reboot, it should listen to specific IP only.

Leave a Reply

Your email address will not be published. Required fields are marked *