So to successfully allow applications to use the same port on different IP addresses, you must use 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.
After you have installed the support tools from the CD,
- Open Command prompt
- Type the following, where xxx.xxx.x.x is the IP address you want to add:httpcfg set iplisten -i xxx.xxx.x.xWhen this succeeds, Httpcfg returns the following:
- After the IP address is added, use the following command to list it: httpcfg query iplistenHttpcfg returns the following:
- Stop the HTTP service and its dependent services. Type the following string at the command prompt:net stop http /y
- Restart the HTTP service and it dependent services. To do this, type the following string at the command prompt:net start w3svc
No comments:
Post a Comment