• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

about tomcat

 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only when that machine is in your network !
If so, then simple URL like, http://machine-ip:port-no/ ll work !
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5575
Eclipse IDE Java Windows XP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which port_no should i give ?
will it be 80 or other one .
 
Sagar Rohankar
Ranch Hand
Posts: 2907
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks all
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic