How to change tomcat port number

By | July 25, 2019


I am developing a web application in JSP, in that for some purpose I need to change tomcat accessing port.

Is there any possibility?


Simple !!… you can do it easily via server.xml

  • Go to tomcat>conf folder
  • Edit server.xml
  • Search “Connector port”
  • Replace “8080” by your port number
  • Restart tomcat server.

You are done!.

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *