Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Two web servers in Windows 2003 server

Posted on 2006-07-02
13
Medium Priority
?
217 Views
Last Modified: 2008-03-17
Hi,
I have windows 2003 server and two IP addreses, on one IP I run OMNIHTTP web server and on another IP I want to run IIS web server. Unfortunatelly IIS does not start, it says that service is in use. I think it is something wrong with Port, as I understand OMNIHTTP use 80 port and IIS can't bind to it.
Any suggestion how to solve this problem? I know that it is possbile to run two web servers on the same machine but don't know exactly how to do that.

Tomas
0
Comment
Question by:Tomazaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5
13 Comments
 
LVL 96

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 750 total points
ID: 17027498
Change the port that one of the HTTP services use.
0
 

Author Comment

by:Tomazaz
ID: 17027661
I want to host web page and point domain to web server. So if I change port, it will not work. Right?
0
 
LVL 85

Accepted Solution

by:
oBdA earned 750 total points
ID: 17027790
You need to bind the IIS web page to only one IP address (in the properties of the page), and tell Omnihttp to bind only to the other IP address (however that works with this software). So the problem is not with the port, it's that currently Omnihttp is listening on all addresses.
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 

Author Comment

by:Tomazaz
ID: 17029462
>>You need to bind the IIS web page to only one IP address (in the properties of the page), and tell Omnihttp to bind only to the other IP address (however that works with this software).

I have done so. I have entered one IP address in OmniHTTP and second in IIS.

>>So the problem is not with the port, it's that currently Omnihttp is listening on all addresses.

If I change IIS port from 80 to 81, IIS starts without problem. Does it means that problem not in IP but in Ports?

0
 
LVL 85

Expert Comment

by:oBdA
ID: 17029590
Open a command prompt and enter
netstat -a -n -b
to find out which process is using port 80 currently.
Or download Sysinternal's TCPView (http://www.sysinternals.com/Utilities/TcpView.html) to do the same with a graphical interface.
0
 

Author Comment

by:Tomazaz
ID: 17029625
I have got result below. 65.23.156.MyFirst - is my first IP address, I have removed last digit for security reason.

......
 TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       2692
 [OHTTPD.exe]

  TCP    65.23.156.MyFirst:80         4.255.236.124:1583     ESTABLISHED     2692
  [OHTTPD.exe]

  TCP    65.23.156.MyFirst:80         59.167.233.195:50258   ESTABLISHED     2692
  [OHTTPD.exe]

  TCP    65.23.156.MyFirst:80         59.167.233.195:50257   ESTABLISHED     2692
  [OHTTPD.exe]
......
0
 
LVL 85

Expert Comment

by:oBdA
ID: 17029710
TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       2692
[OHTTPD.exe]

That means that Omnihttp is listening on all IP addresses in the system; you need to disabled this and tell it to only listen on the assigned address, in order to free the port on the other IP address for IIS.
0
 

Author Comment

by:Tomazaz
ID: 17030897
Maybe do you know why OmniHTTP act so? I have entered IP address in OMNIHttp to listen only on 65.23.156.MyFirst.
0
 
LVL 85

Expert Comment

by:oBdA
ID: 17030930
Nope, sorry; never worked with this one.
0
 

Author Comment

by:Tomazaz
ID: 17031541
It seems that to bind to 0.0.0.0:80 address is behaviour for all servers, just tried with IIS, apache and SAMBA, all binds to IP which is set and additional to 0.0.0.0:80. I can't explain why it should be so but it is.
0
 
LVL 85

Expert Comment

by:oBdA
ID: 17033552
Then it's time for leew's suggestion, or decide for one of the two web servers.
If you currently only have one NIC with two IPs in the machine, you could give two NICs a try as well.
0
 

Author Comment

by:Tomazaz
ID: 17035573
I decided to keep only one web server, I will try to host our portal on IIS, the main problem that from IIS 6.0, IIS does not allow to execute programs, for example code below get permission denied though our script and program to run has proper rights.  Anyway this question will be posted in new thread.

asp
<%
set objShell = Server.CreateObject( "WScript.Shell" )
objShell.Run( "programtorun.exe" )
%>
0
 

Author Comment

by:Tomazaz
ID: 17040656
After digging information for three days eventually I have found that it is possible to bind two IP addresses to 80 Port. The links below describe how to do that if one web server is IIS.

http://support.microsoft.com/?id=813368
http://www.nesstar.org/Release-free/Nesstar_Socket_Pooling.pdf
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

688 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