Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7490519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:40:11+00:00 2026-05-29T15:40:11+00:00

The default port for Tomcat (and other secondary web servers/servlet containers) is 8080. If

  • 0

The default port for Tomcat (and other “secondary” web servers/servlet containers) is 8080.

If there are multiple services configured for this port or there is a need to install multiple instances of Tomcat on a server then you can can edit this port value in ${CATALINA_HOME}/conf/server.xml.

Is there a standard for determining what port number(s) that other installations should use? Is there a standard +1/+10/+100/+1000 approach that is typically followed? Is there a way to determine if there is conflicts without picking something and just trying it?

Also, in server.xml, there is by default:

<Server port="8005" shutdown="SHUTDOWN"> 
<Connector port="8080" protocol="HTTP/1.1" redirectPort="8443" /> 
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

For additional Tomcat installations, do all of these need to be renumbered/included? Should they each follow the same renumbering strategy?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T15:40:12+00:00Added an answer on May 29, 2026 at 3:40 pm

    Is there a way to determine if there is conflicts without picking
    something and just trying it?

    The latest version of Tomcat 7.0.25 includes functionality to automatically find and bind to a free port. This isn’t great for any kind of production installation but is pretty neat for testing and development purposes.

    To answer your original question, I quite like 9090 when 8080 is taken but I’m not aware of any specific best practice in this area.

    The Tomcat docs which describe auto port binding are here.

    And yes, all the other ports will need to be changed as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application running on tomcat at port 8080. The application needs
By default, the ordered list looks like this: There are some spacing on the
Is there any way to override the axis default port specified in axis2.xml through
Why is 22 the default port number for SFTP? Is there any specific reason
I want to change the default port in my embedded HornetQ. This works when
I need to know the default port settings for the following services SQL Server
Is there any way to change the default vnc server port on a Mac.
I've got a Node.js Express web app that is using the default port 3000
I'm currently taking care of a certain local website. The default port has been
I'm using Ubuntu 12.04 I tried to change my default apache2 port from 80

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.