Changing the Tomcat port settings in Eclipse

I am doing some work with Fedora Commons and have that installed on my MacBook Pro, it is running on port 8080. I am also using Eclipse to run a web app that we are creating. Problem is they are both set to use port 8080 and I need them both to be running at the same time ( cause the web app communicates with Fedora).

I don’t want to change the web app settings cause when it deploys it will be using 8080 so what I did was modified the Eclipse Tomcat server to redirect to 9080 when running it inside Eclipse.

Click on servers tab in eclipse and then double click on the server listed there

graphics1

Then when the config page opens change the port by clicking on the numbers and typing over them

graphics2

About these ads

24 thoughts on “Changing the Tomcat port settings in Eclipse

  1. I want to know that configuring changes in eclipse changes the tomcat in turn or tell me how to change in tomcat and also tell how to view the ports which are utilized by System

  2. Even I modified in this way, still don’t work.The same message
    “Port 8080 required by Tomcat v6.0 Server at localhost is already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).”

    • EneraHiver you have to run your application with the properties tab open, it will then ask if you want to save the settings you just modified. click yes.

  3. Pingback: « Changing the Default Port for Tomcat on Eclipse My Developer Notes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s