wood burning stoves 2.0*
The moose likes Tomcat and the fly likes about tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "about tomcat" Watch "about tomcat" New topic
Author

about tomcat

sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
I have tomcat installed on machine on port 8080.
i wany to access tomcat webserver installed on another machine .Is it possible ?
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Only when that machine is in your network !
If so, then simple URL like, http://machine-ip:port-no/ ll work !


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by sunanda kadam:
i wany to access tomcat webserver installed on another machine .



For your Information ,

Tomcat is a webcontainer not a webserver
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Originally posted by seetharaman venkatasamy:



For your Information ,

Tomcat is a webcontainer not a webserver


I think web server which serves web pages like html pages !

If its not so, then whats the difference between web container and web server ?
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Originally posted by Sagar Rohankar:
I think web server which serves web pages like html pages !


No. Webserver contains webcontainer.often webserver can understand Http ,then it will send the request to webcontainer where the jsp,servlet stay.

but some vender specific webcontainer act like webserver ,example tomcat.

Hope this Helps
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41034
    
  43
Tomcat is a web server and a servlet container. I generally suggest to avoid the term "web container" since it is not widely used; you're likely to confuse people by using it.

For more information see http://faq.javaranch.com/java/WebVsApplicationServer


Ping & DNS - my free Android networking tools app
sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
which port_no should i give ?
will it be 80 or other one .
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Thanks for the expanation Ulf and seetharaman !

which port_no should i give ?
will it be 80 or other one .


The port on which the tomcat running , you can find it from server.xml (generally , its 8080) , from 'conf' directory !
sunanda kadam
Ranch Hand

Joined: Feb 26, 2008
Posts: 42
thanks all
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: about tomcat
 
Similar Threads
Tomcat Services windows 7 professional 64 bit
How to prevent startup of Tomcat as service
Unable to compile class for JSP
Catalina.out
using different JAVA_HOME for tomcat in unix