Meaningless Drivel is fun!*
The moose likes Tomcat and the fly likes Tomcat 5.5 and Port 8080 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 5.5 and Port 8080" Watch "Tomcat 5.5 and Port 8080" New topic
Author

Tomcat 5.5 and Port 8080

Rick Fischer
Greenhorn

Joined: May 15, 2003
Posts: 19
What is the best way to eliminate the need to specify port 8080 in the URL with Tomcat5.5. I have used the jspisapi product, but I am looking for a better solution.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
you can config port in server.xml file.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Matthew Amacker
Greenhorn

Joined: Aug 10, 2004
Posts: 5
You can also use mod_rewrite in apache. I've seen it used to map urls to various ports and services. In addition I believe Apache is coming out with, or has come out with the ability to do load balancing.

Its getting more versatile as a front end to web-services.


Apache mod_rewrite
Rahul Singh Khokhar
Ranch Hand

Joined: Feb 23, 2005
Posts: 36
Hi Rick,
Depends, if you are using only Tomcat to serve all types of pages(static and JSPs) then u need to modify the server.xml

On the other hand, if you are have Apache to serve the static pages and Tomcat to serve the JSPs (Preferred setup) then use either of these :
Mod_jk, Mod_jk2, or Mod_proxy and configure them. Once configured you need not point to port 8080 in your URLs.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 5.5 and Port 8080
 
Similar Threads
Tomcat ssl problem
unable to connect to tomact6.0 server from a different computer on the network
monitoring soap
The connection was refused when attempting to contact localhost:7001
Problems installing and running Tomcat on Linux