Change Tomcat Port

I just needed to do this, since Oracle 10g XE Web Interface also listens on port 8080.

After a quick lookaround in its folders, I found a way.

So here is how it is done:

Stop Tomcat.

Go to <Your Tomcat Directory>/conf/

Edit server.xml there.

There will be a Connector tag there.

<Connector port=”8082” protocol=”HTTP/1.1″
redirectPort=”8443″ />

Change its port attribute to anything you like; in my case it is 8082 as you can see.

Restart Tomcat.


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: