Solved

Share port 80 with 2 services and 2 IP addresses

Posted on 2007-03-28
4
806 Views
Last Modified: 2008-01-09
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?
0
Comment
Question by:MDauphinais1
  • 2
4 Comments
 
LVL 12

Expert Comment

by:viralypatel
ID: 18813555
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
0
 

Author Comment

by:MDauphinais1
ID: 18814789
So where am I specifing the application itself? Or does the httpcfg open up some kind of GUI where I would select it?
0
 
LVL 7

Accepted Solution

by:
tymes earned 500 total points
ID: 18855945
Normally the technical term for this BIND, so search your documentation for each of various programs you need to BIND to particular ports or IP addresses...

So instance for shoutcast...
http://www.shoutcast.com/download/serve.phtml
search that page for BIND and you see the configuration option you need to set and you can even see in the description there that it is useful when you have two network cards or two ip addresses etc. describing your particular situation.

And next for Windows Media Server... instructions on making it coexist with IIS or any other service that wants to bind to port 80.  
http://support.microsoft.com/kb/328728
When configuring the various services, you want to stop all of them that might conflict and reconfigure them all before starting them up again.

httpcfg would be used to bind IIS to a specific IP address so you could have a third IP address and host a website... although I don't know if you need to use it, you can just stop that service or perhaps you can configure all the websites not to bind to all available ip addresses.  Whatever.
0
 

Author Comment

by:MDauphinais1
ID: 18859089
Awesome, thanks!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Join & Write a Comment

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Resolve DNS query failed errors for Exchange
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now