| Author |
Tomcat installation
|
Naveen Madarapu
Ranch Hand
Joined: May 24, 2011
Posts: 63
|
|
|
how can i change the port if i am using 8080 it opens oracle
|
OCPJP
|
 |
Mick Knutson
author
Ranch Hand
Joined: Jul 10, 2007
Posts: 37
|
|
edit ./conf/server.xml to change:
to something like:
|
... Mick Knutson
http://baselogic.com - [Java EE6 Cookbook for securing, tuning, and extending enterprise applications (PACKT)] - [Java EE6 Cookbook (PACKT) (on Amazon)]
|
 |
tanuj khare
author
Ranch Hand
Joined: May 02, 2012
Posts: 37
|
|
What Mick has said is completely true, we can change the port in server.xml and these changes will be only in effect after recycle.
But before selecting the port number, verify that system is not using this port using the following command
netstat -atnp |grep "port" number ---------------- linux
netstat -atnp |find "port" number ---------------- windows
|
Regards, Tanuj Khare
author of Apache Tomcat 7 Essentials
|
 |
Naveen Madarapu
Ranch Hand
Joined: May 24, 2011
Posts: 63
|
|
|
Thanks Mick it's very helpful to me.
|
 |
Mick Knutson
author
Ranch Hand
Joined: Jul 10, 2007
Posts: 37
|
|
Naveen Madarapu wrote:Thanks Mick it's very helpful to me.
YW.
BTW, another tool if you want to see the ports and http traffic if you are on Windows:
TCPViewer:
http://technet.microsoft.com/en-us/sysinternals/bb897437
HTTPDebugger: (my favorite)
http://www.httpdebugger.com/
|
 |
 |
|
|
subject: Tomcat installation
|
|
|