Tomcat Ports in Xampp

Hello there,
     I installed Xamp using the file Xampp-win-32-5.6.14.0-VC11-installer, which installed the Xampp Control Panel v3.2.1 I was able to successfully reconfigure the port For Apache from 80 to 8080. And it fires up just fine.
  However, I have port conflict with Tomcat and have no clue what to change the port, I know I change it in the server.xml but what should the following ports be for Tomcat ? And what do I change in the server.xml?
Main port
AJP port
HTTP port
OverthereAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
Are you going to be doing JAVA programming?  That's what Tomcat is for.
0
OverthereAuthor Commented:
I will at times. But mostly PHP.
0
Dave BaldwinFixer of ProblemsCommented:
What port are you wanting to run Tomcat on?  Have you worked with Tomcat before?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

OverthereAuthor Commented:
Well, IIS Express is on 80, Apache is on 8080. I don't know what port to put Tomcat on , that's why I was asking. I had this setup before but I do did not record the configuration settings before having to do a reinstall....
0
Dave BaldwinFixer of ProblemsCommented:
This page http://shapesandelements.com/configure-and-test-tomcat-on-xampp-web-server/ shows the XAMPP 3.21 control panel along with info about setting up Tomcat.  

I have this on one of my computers.  However when I click on Start for Tomcat on my computer, it says that I need JAVA JDK or JRE installed which I don't have.  In 'servers.xml' on my computer, it shows port 8009 as the default for Tomcat.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gheistCommented:
xAmpp - Apache mentioned you need only AJP port on localhost and direct apache reverse proxy to it.
there is no "main port" on tomcat. you need http port if tomcat is to receive http requests
and you need shutdown port only if you shut down tomcat with builtin scripts (i.e. if you manage to use tanuki wrapper or jsvc you dont need that either)
0
OverthereAuthor Commented:
well, in the control panel, you can click on a button to display/configure ports for each service and for Tomcat, it does show "main port".
So what is being said is that Tomcat needs a http port - I get that, but again, what should the port number be? That is why I have asked this question... what should the port number be?
0
gheistCommented:
By default http port is 8080 and AJP port 8009 and shutdown port (maybe this is called "Main") 8005
None of them is needed to deploy web application, at least it is how I do to see if application is defective.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.