Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-20
5
Medium Priority
?
3,893 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses
Course of the Month10 days, 18 hours left to enroll

886 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