• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

about tomcat  RSS feed

 
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 ?
 
Ranch Hand
Posts: 2908
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 !
 
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: 2908
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
 
Rancher
Posts: 42974
76
  • 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: 2908
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
 
He's giving us the slip! Quick! Grab this tiny ad!
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!