Link to home
Start Free TrialLog in
Avatar of MDauphinais1
MDauphinais1

asked on

Share port 80 with 2 services and 2 IP addresses

I was told that if you have two IP addresses assigned to a NIC you can have two different services using port 80 as long as each service points to a different IP address. How do you set this up?  I have two programs that need to run on port 80, Windows Media Server and Shoutcast server. Anyone know how I am suppose to direct one service to use the first IP address and the second service to use the second IP address?
Avatar of viralypatel
viralypatel
Flag of India image

You must use the HTTP API to specify the list of IP addresses to which you want your application to listen. Use the httpcfg.exe utility from the Windows 2003 Support Tools CD to configure the IP Listen List.

   1. Ensure httpcfg.exe in the system path
   2. At the command prompt, type httpcfg set iplisten -i<ip address>
      httpcfg set iplisten -i 10.1.200.39
   3. Repeat for any additional IP addresses you want to add to the listening pool for your application
Avatar of MDauphinais1
MDauphinais1

ASKER

So where am I specifing the application itself? Or does the httpcfg open up some kind of GUI where I would select it?
ASKER CERTIFIED SOLUTION
Avatar of tymes
tymes
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Awesome, thanks!