Many of us are using IIS on our Windows XP machines as web server. The problem with IIS shipped with Windows XP is that the number of simultaneous connections to IIS are limited to 3 or 4 by default. Now, when we open a same page in IE, FF, Opera and Safari simultaneously many times the page does not render correctly (misses css, images etc. etc.). This happens because the connections limit has been reached. We need to then restart IIS or what not to make the page render correctly. This is quite irritating particularly to us Interactive Developers.
There is a solution to this problem. This involves increasing the simultaneous connections to maximum (40 in our case). How to do it? Well follow these steps:
Step 1: Click “start > run” and type the following command without quotes “C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/MaxConnections 40” . It will throw a following error “the script does not work with WScript” No sweat. Click the button.
Step 2: After clicking the button in Step 1, it would say “Would you like to register CScript as your default host for VBscript?”. Click “YES”. It will say “Successfully registered”
Step 3: Again click “start > run” and type the following command without quotes “C:\Inetpub\AdminScripts\adsutil.vbs set w3svc/MaxConnections 40”. It will show a command window for a second or so and then the command window will disappear. VOILA! The number of connections are increased.
Hope this helps.