• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting server port to 80

 
Jonathan Cunningham
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks,
ok I'm new to tomcat I have few questions. n
1) when setting server port to 80 for my tomcat appserver, does this effectively make the default http connector to listen on port 80 for request? or are they two different things?
2.If I wish to configure the Connector that is used for connections to web servers using the AJP protocol to make use of the native apache http server, this will be considerably slower than the default http server that tomcat uses? is that right? Does tomcat actually have an embedded http server??
3. comparing 1)setting server port to 80 and 2) use apache http server as a frontend to serve static files, which approach is better? I guess the first? When would I ever want to adopt the second approach?
thanks
 
Roel De Nijs
Sheriff
Posts: 10603
143
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jonathan Spitzeraler:
hi folks,
3. comparing 1)setting server port to 80 and 2) use apache http server as a frontend to serve static files, which approach is better? I guess the first? When would I ever want to adopt the second approach?
thanks


I think second approach is the better one, because apache http server is made to process static html files, and you use tomcat server to serve dynamic files and so you use both for their strenghts
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic