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 7433967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:45:28+00:00 2026-05-29T09:45:28+00:00

I have installed tomcat 6 and 7 to the port 8080. I am using

  • 0

I have installed tomcat 6 and 7 to the port 8080.

I am using tomcat 6 for deploying my projects in local LAN by loading files from its web apps.

At the same time I am using eclipse ide for developing purpose.

When ever I have to run my project from eclipse using tomcat7, I have to stop the tomcat6.

Is it possible to change the port of tomcat?

What I want is to run both the servers at the same time.

Thanks in advance..

  • 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-29T09:45:29+00:00Added an answer on May 29, 2026 at 9:45 am

    To install two instances of tomcat in this way:

    Download tomcat, and unpack it twice, into two separate directories.
    Edit the conf/server.xml file in one of the copies in the following way:
    Change the port on the root Server element to a different number (e.g. 8006)
    Change the port attributes on the Connector elements to a different number (e.g. 8010 instead of 8009, 8081 instead of 8080 and 8444 instead of 8443)
    You should now be able to run the bin/startup.sh scripts in both installations to get two running tomcats. Connect using port 8080 and install the basic application services, and then connect using port 8081 to install the service provider management services.
    Source link.
    Some other useful links are given
    links,
    links.

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

Sidebar

Related Questions

I have one basic web project using spring in eclispe. I have installed tomcat
i already have one web application up on port 8080 on tomcat. Now i
I have eclipse installed and I installed Tomcat from there. I created an app
I have tomcat installed on my local machine. I see it in server.xml where
I have a tomcat app running on http://localhost:8080/appexploded/login.jsp (Tomcat). Now I have installed Apache
hi i am using tomcat 6 as webserver. i have two webbapplication installed on
I have installed Tomcat, and using SLF4J as our logging framework. I copied slf4j-api-1.6.4.jar
I have three tomcat instances for three different applications. They are using 8080,8081,8082 ports
I have installed Archiva on my machine under Tomcat 6.x at http://dev.mycompany.com:8080/archiva and can
I currently have a tomcat servlet 1 running under the ROOT: api1.myhost.com:8080/ I'm using

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.