Solved

configure both tomcat and iis 6 on port 80 (windows 2003 std. server)

Posted on 2006-11-20
5
3,874 Views
Last Modified: 2008-03-26
Hi,

I wnat to configure the IIS 6.0 and Tomcat 6.0 both on port 80 on samve server, plz update how it can be possilbe,

I ahve 3 static ip on this server.

Regards,
Naresh
0
Comment
Question by:nareshver
5 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17985481
you cannot have 2 applications listening on the same port on the same machine.
you have to choose 2 different ports. having 2 or more IP addresses on the machine does not help.
0
 

Author Comment

by:nareshver
ID: 17985521
Hi,

I have configue the exchange 2003 and merak mail server on the same server using differtert ip, i think this option will also avilalbe for web servers.

Naresh
0
 
LVL 13

Expert Comment

by:rhickmott
ID: 17985982
You should be able to set Apache to listen port 80 of one IP.

iirr with the LISTEN xxx.xxx.xxx.xxx:80 command.

Im not sure how the Tomcat set-up is but assumingly its a similar set-up.
0
 
LVL 19

Accepted Solution

by:
ramazanyich earned 500 total points
ID: 17991557
Indeed web servers allow ind to specific IP addresses, so if you have multiple IP addresses you can use multiple servers on the same port.
In tomcat6 you should modify $TOMCAT_HOME/conf/server.xml file. Search for <Connector> element eith port="8080" attribute and change value of 8080 to 80 and add additional attribute address="IP_address". For example if you want bind to IP address 192.168.0.2 then this element will look like this:
<Connector port="80" address="192.168.0.2" .... />

to bind  IIS 6 to specific IP address (for example 192.168.0.1) do the follwoing:
1. Extract the httpcfg.exe utility from the support tools area on the Win2003 CD.
2. stop all IIS services: net stop http /y
3. execute: httpcfg set iplisten -i 192.168.0.1
 make sure: httpcfg query iplisten (the ip's listed are the only ip addresses that IIS will be listening on and no other)
5. restart IIS Services: net start w3svc
0
 

Author Comment

by:nareshver
ID: 17993357
thanks Ramazanyich ,

frist I will try to configure this setting  on win2k3 virtual image

Naresh
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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