How to change Apache Tomcat web server default port number?
I am developing a web application in JSP, in that for some purpose I need to change tomcat accessing port. Is there any possibility?
In the Tomcat installation folder, open the Conf directory. Create a backup of the server. xml file. Modify the value of the port parameter to the desired value.
Tomcat listens on TCP port 8005 to accept shutdown requests. By connecting to this port and sending the SHUTDOWN command, all applications within Tomcat are halted.
Simple !!... you can do it easily via server.xml
tomcat>conf
folderserver.xml
your port number
You are done!.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With