File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat  Doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat  Doubt" Watch "Tomcat  Doubt" New topic

Tomcat Doubt

Nadeem Khan
Ranch Hand

Joined: Nov 27, 2007
Posts: 108
Am a SCWCD beginner.
When i access a page by http://localhost:80 means my requests to port 80 are forwarded to tomcat server because tomcat listens on this port. am i right?
I have installed Tomcat 5.5. What can i do to access a page using http://localhost:8080.(right now i open with only http://localhost or alongwith 80)

<i>If there were no Exceptions (not Errors!), Life would have kinda sucked!!</i>
swapna rao
Ranch Hand

Joined: Feb 12, 2008
Posts: 53
try changing the port number in servler.xml file.It is present in <tomcat installation dir>/conf

SCJP-88<br />SCWCD-94
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

Welcome to the ranch. Your name does not fit the ranch Naming Policy. Please read it carefully, and change your name accordingly. You need both first and last names to be set. Thank you.

[My Blog]
All roads lead to JavaRanch
I agree. Here's the link:
subject: Tomcat Doubt
jQuery in Action, 3rd edition