Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I set Tomcat to use port 80. Why doesn Apache serve up docuements any more?

Apache port serve Tomcat
0
10 Posted

I set Tomcat to use port 80. Why doesn Apache serve up docuements any more?

0
10

Location: http://www.jguru.com/faq/view.jsp?EID=415520 Created: May 4, 2001 Author: Alex Chaffee (http://www.jguru.com/guru/viewbio.jsp?EID=3) Question originally posed by Rajeev Bacchu (http://www.jguru.com/guru/viewbio.jsp?EID=259941 When using Tomcat behind Apache, you shouldn’t set it to use port 80. Apache wants to use that port. What’s probably happening is that Apache is failing to start properly, since Tomcat is already listening on port 80. In fact, you don’t need Tomcat to listen to any HTTP sockets at all! You can remove the line from server.xml that mentions port 80 or port 8080. Just make sure it’s speaking AJP on port 8007 and you’ll be able to use Apache as the front end.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123