Solved

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

Posted on 2006-11-20
5
3,857 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 142

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

706 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

17 Experts available now in Live!

Get 1:1 Help Now