• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat installation

 
Naveen Madarapu
Ranch Hand
Posts: 64
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i change the port if i am using 8080 it opens oracle
 
Mick Knutson
author
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
edit ./conf/server.xml to change:



to something like:

 
tanuj khare
author
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Naveen Madarapu
Ranch Hand
Posts: 64
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mick it's very helpful to me.
 
Mick Knutson
author
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic