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!.
More Related Contents:
- How to run different apps on single Tomcat instance behind different ports?
- Recommended way to save uploaded files in a servlet application
- Simplest way to serve static data from outside the application server in a Java web application
- Servlet 5.0 JAR throws compile error on javax.servlet.* but Servlet 4.0 JAR does not
- Why must the JDBC driver be put in TOMCAT_HOME/lib folder?
- How to change the port of Tomcat from 8080 to 80?
- Set CORS header in Tomcat
- Is there a max size for POST parameter content?
- Does Tomcat load the same library file into memory twice if they are in two web apps?
- Can’t access Tomcat using IP address
- How do you configure tomcat to bind to a single ip address (localhost) instead of all addresses?
- Tomcat 10.x throws java.lang.NoClassDefFoundError on javax.servlet.* [duplicate]
- Absolute path & Relative Path
- IntelliJ and Tomcat.. Howto..?
- Is it possible change date in docker container?
- Get ServletContext in JAX-RS resource
- Access-Control-Allow-Origin: * in tomcat
- How does Tomcat locate the webapps directory?
- How to use HttpServletRequest#getParts() in a servlet filter running on Tomcat?
- How to pass tomcat port number on command line?
- Error starting Tomcat from NetBeans – ‘127.0.0.1*’ is not recognized as an internal or external command
- Access Tomcat Manager App from different host
- CORS – Tomcat – Geoserver
- Is there a way to enforce a deployment order in tomcat6?
- How do I load a java class (not a servlet) when the tomcat server starts [duplicate]
- How to set the max size of upload file
- What is the difference between Tomcat’s BIO Connector and NIO Connector?
- How can I map multiple contexts to the same war file in Tomcat?
- tomcat auto start servlet [duplicate]
- how to enable hot deploy in tomcat