Solved

Share port 80 with 2 services and 2 IP addresses

Posted on 2007-03-28
4
807 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

Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
inactive users 13 70
Auslogics BoostSpeed 9 software 5 60
Error 0X800704C8 - Plex App 2 35
Anyone has experience of using cygwin rync to sync between Windows Servers ? 1 32
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

948 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

22 Experts available now in Live!

Get 1:1 Help Now